summaryrefslogtreecommitdiff
path: root/scripts/macosx-build-dependencies.sh
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-02-07 00:34:44 (GMT)
committerMarius Kintel <marius@kintel.net>2012-02-07 00:34:44 (GMT)
commitb99f9306a6a907c9ce28ef71898fb39016a20867 (patch)
tree1500e7ba354248385eb2bfec4c1152b27746ade1 /scripts/macosx-build-dependencies.sh
parentc4a4c4cf6eccf4f94503555f625529518db4edf2 (diff)
Quick sanity check: script must be run from the source root in order to correctly find patches and place libraries
Diffstat (limited to 'scripts/macosx-build-dependencies.sh')
-rwxr-xr-xscripts/macosx-build-dependencies.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/macosx-build-dependencies.sh b/scripts/macosx-build-dependencies.sh
index 4bcafd3..564c93e 100755
--- a/scripts/macosx-build-dependencies.sh
+++ b/scripts/macosx-build-dependencies.sh
@@ -199,6 +199,11 @@ build_opencsg()
make install
}
+if [ ! -f $OPENSCADDIR/openscad.pro ]; then
+ echo "Must be run from the OpenSCAD source root directory"
+ exit 0
+fi
+
echo "Using basedir:" $BASEDIR
mkdir -p $SRCDIR $DEPLOYDIR
build_gmp 5.0.3
contact: Jan Huwald // Impressum