diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-08-05 00:47:36 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-08-05 00:47:36 (GMT) |
commit | 58db7a9d19f707c72a3f16bdf6275c0e4671f362 (patch) | |
tree | a6721c7c719daf6a756936bb5d8c30a3a6e91a69 /scripts/setenv-mingw-xbuild.sh | |
parent | 06d48a47f8a2e7899b4edb3fae75a34479453e19 (diff) |
move functionality from build-installer script to release-common.
mostly this means
1. detect NSIS and fail with error message if its not there
2. remove mingw-build-installer and mingw-build-openscad as they are nowredundant.
running publish-mingw-x does exactly the same thing, only better
because it builds from a clean source tree.
Diffstat (limited to 'scripts/setenv-mingw-xbuild.sh')
-rw-r--r-- | scripts/setenv-mingw-xbuild.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/setenv-mingw-xbuild.sh b/scripts/setenv-mingw-xbuild.sh index a650f50..e8976b7 100644 --- a/scripts/setenv-mingw-xbuild.sh +++ b/scripts/setenv-mingw-xbuild.sh @@ -11,14 +11,20 @@ # Also see http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Cross-compiling_for_Windows_on_Linux_or_Mac_OS_X # +export OPENSCADDIR=$PWD + if [ ! $BASEDIR ]; then export BASEDIR=$HOME/openscad_deps fi -export OPENSCADDIR=$PWD -export DEPLOYDIR=$OPENSCADDIR/mingw32 + +if [ ! $DEPLOYDIR ]; then + export DEPLOYDIR=$OPENSCADDIR/mingw32 +fi + if [ ! $MXEDIR ]; then export MXEDIR=$BASEDIR/mxe fi + export PATH=$MXEDIR/usr/bin:$PATH echo BASEDIR: $BASEDIR |