]> git.saurik.com Git - wxWidgets.git/blobdiff - build/tools/git-make-release
Add a test for eol-native file existence in the release script.
[wxWidgets.git] / build / tools / git-make-release
index c1089a14e4148641e471b7947c0868f6986c40b0..6dcfc9681f7f81902d76dd813493b6c134e1bb09 100755 (executable)
@@ -32,6 +32,12 @@ if [ -z "$version" ]; then
     exit 1
 fi
 
+EOL_FILE=../eol-native
+if [ ! -r "$EOL_FILE" ]; then
+    echo "Use build/tools/svn-find-native-eols.pl to generate $EOL_FILE." >&2
+    exit 1
+fi
+
 set -e
 set -x
 
@@ -61,7 +67,7 @@ tar cjf $prefix.tar.bz2 $prefix
 
 cd $prefix
 set +x
-for f in `cat ../eol-native`; do
+for f in `cat $EOL_FILE`; do
     case $f in
         */setup0.h)
             # we renamed this file above so adjust