]> spindle.queued.net Git - midori/commitdiff
makedist.midori: Warn if MINGW_PREFIX variable is not set
authorPaweł Forysiuk <tuxator@o2.pl>
Wed, 8 Feb 2012 23:14:16 +0000 (00:14 +0100)
committerChristian Dywan <christian@twotoasts.de>
Fri, 10 Feb 2012 22:39:36 +0000 (23:39 +0100)
win32/makedist/makedist.midori

index fed5d836944df5ff80df0f4b4d881b567e01afef..b922c5183a790408cde50cfc944c6837a861f6c2 100755 (executable)
 # a bit of configuration
 root_dir=$MINGW_PREFIX
 
+if [ "$MINGW_PREFIX" == "" ]; then
+   echo "Warning!. MING_PREFIX variable is empty!"
+   sleep 5s
+fi
+
 # create temporary working directory
 temp_dir=`mktemp -d`