From b99f9306a6a907c9ce28ef71898fb39016a20867 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Tue, 7 Feb 2012 01:34:44 +0100 Subject: Quick sanity check: script must be run from the source root in order to correctly find patches and place libraries 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 -- cgit v0.10.1