diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-08-05 01:04:40 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-08-05 01:04:40 (GMT) |
commit | db53bdb496eef048831369b888c775bf0e82b82f (patch) | |
tree | 42ec18340bc3a6e77799417e056fec65bec50ca8 /scripts/publish-mingw-x.sh | |
parent | 58db7a9d19f707c72a3f16bdf6275c0e4671f362 (diff) |
1. fix bug in detecting makensis
2. better error message for MXE not being found
Diffstat (limited to 'scripts/publish-mingw-x.sh')
-rwxr-xr-x | scripts/publish-mingw-x.sh | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/scripts/publish-mingw-x.sh b/scripts/publish-mingw-x.sh index 4e0afe9..d6cebcd 100755 --- a/scripts/publish-mingw-x.sh +++ b/scripts/publish-mingw-x.sh @@ -16,15 +16,19 @@ CCACHE_DISABLE=1 . ./scripts/setenv-mingw-xbuild.sh if [ ! -e $MXEDIR ]; then - echo "Mingw cross tools not found." - echo " Please run ./scripts/mingw-x-build-dependencies.sh to install " - echo " or modify MXEDIR to point to the root of your cross-tools setup" - echo " ( Please see setenv-mingw-xbuild.sh for more info ) " + echo "MXEDIR: $MXEDIR" + echo "MXEDIR is a non-existent path. Mingw cross tools not found." + echo + echo " Please run ./scripts/mingw-x-build-dependencies.sh to install MXE" + echo " or modify MXEDIR to point to the root of your cross-tools setup" + echo " ( Please see http://mxe.cc for more info ) " + echo + exit 1 fi if [ ! -f $OPENSCADDIR/openscad.pro ]; then echo "Must be run from the OpenSCAD source root directory" - exit 0 + exit 1 fi OSTYPE=mingw-cross-env ./scripts/release-common.sh -v $VERSION $COMMIT |