[Xfce4-commits] <midori:master> makedist: Abort the script if MINGW_PREFIX is not set

Christian Dywan noreply at xfce.org
Mon Feb 11 23:14:02 CET 2013


Updating branch refs/heads/master
         to c9f3ec01b81daa2fa97193aad27d874628d6db00 (commit)
       from 48be628c0612784875acc6b398e4d7cecbef0286 (commit)

commit c9f3ec01b81daa2fa97193aad27d874628d6db00
Author: Paweł Forysiuk <tuxator at o2.pl>
Date:   Mon Feb 11 15:18:21 2013 +0100

    makedist: Abort the script if MINGW_PREFIX is not set

 win32/makedist/makedist.midori |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/win32/makedist/makedist.midori b/win32/makedist/makedist.midori
index 478dd51..52c2d64 100755
--- a/win32/makedist/makedist.midori
+++ b/win32/makedist/makedist.midori
@@ -25,8 +25,8 @@
 root_dir=$MINGW_PREFIX
 
 if [ "$MINGW_PREFIX" == "" ]; then
-   echo "Warning! MINGW_PREFIX variable is empty!"
-   sleep 5s
+   echo "Error: MINGW_PREFIX variable is empty!"
+   exit
 fi
 
 # create temporary working directory


More information about the Xfce4-commits mailing list