changeset 869:858297fa5ad0

setup-native-static-build.sh shouldn't blank cron-temp if hdc.sqf already there.
author Rob Landley <rob@landley.net>
date Thu, 29 Oct 2009 12:47:57 -0500
parents ef007d564aad
children 2330aa12c5f9
files sources/more/setup-native-static-build.sh
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sources/more/setup-native-static-build.sh	Thu Oct 29 12:46:58 2009 -0500
+++ b/sources/more/setup-native-static-build.sh	Thu Oct 29 12:47:57 2009 -0500
@@ -10,6 +10,12 @@
   exit 1
 fi
 
+if [ -e "$1/hdc.sqf" ]
+then
+  echo "$1/hdc.sqf" exists
+  exit 0
+fi
+
 # Set up working directories
 
 WORK="$1"