From e86aa7a62cc8be79ffaeb0d07b70161cb9ea2c74 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 17 Jul 2013 12:57:15 +0000 Subject: [PATCH] Add a test for eol-native file existence in the release script. Otherwise it could silently create a distribution with the files with wrong EOLs. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- build/tools/git-make-release | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build/tools/git-make-release b/build/tools/git-make-release index c1089a14e4..6dcfc9681f 100755 --- a/build/tools/git-make-release +++ b/build/tools/git-make-release @@ -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 -- 2.45.2