From 1d938e52f2afd43ec51e2a1b297c0348f477fe7e Mon Sep 17 00:00:00 2001 From: Rick Bird Date: Sun, 24 Apr 2011 23:52:02 -0400 Subject: [PATCH] Changed connect.txt generation to only happen if no connect.txt exists. IssueID #240 --- utils/preparedist.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.30.2