diff options
author | Marius Kintel <marius@kintel.net> | 2012-02-07 00:34:44 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2012-02-07 00:34:44 (GMT) |
commit | b99f9306a6a907c9ce28ef71898fb39016a20867 (patch) | |
tree | 1500e7ba354248385eb2bfec4c1152b27746ade1 | |
parent | c4a4c4cf6eccf4f94503555f625529518db4edf2 (diff) |
Quick sanity check: script must be run from the source root in order to correctly find patches and place libraries
-rwxr-xr-x | scripts/macosx-build-dependencies.sh | 5 |
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 |