From: Rick Bird Date: Mon, 25 Apr 2011 03:52:02 +0000 (-0400) Subject: Changed connect.txt generation to only happen if no connect.txt exists. X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=1d938e52f2afd43ec51e2a1b297c0348f477fe7e;p=cobramush.git Changed connect.txt generation to only happen if no connect.txt exists. IssueID #240 --- diff --git a/utils/preparedist.sh b/utils/preparedist.sh index 4193667..c6c89b8 100755 --- a/utils/preparedist.sh +++ b/utils/preparedist.sh @@ -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