summaryrefslogtreecommitdiff
path: root/scripts/publish-mingw-x.sh
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-08-04 00:38:47 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-08-04 00:38:47 (GMT)
commit81df2f9c5fd55406baf0f53550c7aae1b60df2cf (patch)
tree68d1d5617043e50620415febabbc0f374674e3d3 /scripts/publish-mingw-x.sh
parentc8cdc9d81ce9c813d711039abd1b723b783bdd2d (diff)
some tweaks for better error reporting
Diffstat (limited to 'scripts/publish-mingw-x.sh')
-rwxr-xr-xscripts/publish-mingw-x.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/scripts/publish-mingw-x.sh b/scripts/publish-mingw-x.sh
index 1f23ace..0dc99ea 100755
--- a/scripts/publish-mingw-x.sh
+++ b/scripts/publish-mingw-x.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+# This is run as part of the checklist in docs/release-checklist.txt
+#
# Set this if we're doing a release build. Comment it out for development builds
#VERSION=2011.12
@@ -13,6 +15,13 @@ 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 ) "
+fi
+
if [ ! -f $OPENSCADDIR/openscad.pro ]; then
echo "Must be run from the OpenSCAD source root directory"
exit 0
@@ -20,9 +29,8 @@ fi
OS=LINXWIN ./scripts/release-common.sh -v $VERSION $COMMIT
-echo $? return value
-
if [ $? != 0 ]; then
+ echo "release-common.sh returned error code: $?. build stopped."
exit 1
fi
contact: Jan Huwald // Impressum