Changed connect.txt generation to only happen if no connect.txt exists.
authorRick Bird <nveid@bender.theari.com>
Mon, 25 Apr 2011 03:52:02 +0000 (23:52 -0400)
committerRick Bird <nveid@bender.theari.com>
Mon, 25 Apr 2011 03:52:02 +0000 (23:52 -0400)
IssueID #240

utils/preparedist.sh

index 4193667af95f5c3b72d854ad2aaaa245e6609b7e..c6c89b882a50f87f9b9ad97d0444b5f8b3818dd6 100755 (executable)
@@ -47,5 +47,9 @@ done
 
 # Step 6: Create connect.txt file
 cd ../../
-( utils/makeconnect.sh ; mv connect.txt game/txt )
+if [ ! -f  game/txt/connect.txt ];
+then
+  echo "Generating connect.txt..."
+  ( utils/makeconnect.sh ; mv connect.txt game/txt )
+fi