summaryrefslogtreecommitdiff
path: root/scripts/mingw-x-build-dependencies.sh
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-07-29 15:24:38 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-07-29 15:24:38 (GMT)
commit47902704240e057594074e4d24550112deb482ff (patch)
treeb1da6d8d343477e3d14b73f2ce2167fef3f0c987 /scripts/mingw-x-build-dependencies.sh
parent1a02158ddc6d2b52a43c2a0ee9b1bc79e5461f1e (diff)
script to help build windows installer.
Diffstat (limited to 'scripts/mingw-x-build-dependencies.sh')
-rwxr-xr-xscripts/mingw-x-build-dependencies.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/mingw-x-build-dependencies.sh b/scripts/mingw-x-build-dependencies.sh
index e820e20..f1e9984 100755
--- a/scripts/mingw-x-build-dependencies.sh
+++ b/scripts/mingw-x-build-dependencies.sh
@@ -19,6 +19,12 @@ if [ ! -f $OPENSCADDIR/openscad.pro ]; then
echo "Must be run from the OpenSCAD source root directory"
exit 0
fi
+
+if [ $OPENSCAD_LIBRARIES ]; then
+ echo "OPENSCAD_LIBRARIES env variable is already set. Please re-run from a clean shell."
+ exit 0
+fi
+
BASEDIR=$HOME/openscad_deps
MXEDIR=$BASEDIR/mxe
PATH=$MXEDIR/usr/bin:$PATH
contact: Jan Huwald // Impressum