From: Paweł Forysiuk Date: Wed, 8 Feb 2012 23:14:16 +0000 (+0100) Subject: makedist.midori: Warn if MINGW_PREFIX variable is not set X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f387f9c29bfea4f723f0b173dc512ad31bc4fd7c;p=midori makedist.midori: Warn if MINGW_PREFIX variable is not set --- diff --git a/win32/makedist/makedist.midori b/win32/makedist/makedist.midori index fed5d836..b922c518 100755 --- a/win32/makedist/makedist.midori +++ b/win32/makedist/makedist.midori @@ -23,6 +23,11 @@ # 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`