summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-07-22 21:39:22 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-07-22 21:39:22 (GMT)
commite501bdd222dab12c92bb160876715ef2a140e68a (patch)
tree27ccaea22e952d54a8a637995a5fc6e51f4ffb6e
parent8e3f3102f5be8042726253a7059495763042584f (diff)
improve usage on PCBSD
-rwxr-xr-xscripts/freebsd-build-dependencies.sh14
1 files changed, 12 insertions, 2 deletions
diff --git a/scripts/freebsd-build-dependencies.sh b/scripts/freebsd-build-dependencies.sh
index 1bbca42..dec99c0 100755
--- a/scripts/freebsd-build-dependencies.sh
+++ b/scripts/freebsd-build-dependencies.sh
@@ -1,6 +1,16 @@
-#!/bin/sh -e
+#!/usr/local/bin/bash -e
-echo "Tested on FreeBSD 9. Not guaranteed to work on older"
+echo "Tested on FreeBSD 9. Please see README.md for info on older systems."
+
+if [ "`pkg_info | grep -i cgal | echo hi`" ]; then
+ echo Stopping. Please remove any CGAL packages you have installed and restart
+ exit
+fi
+
+if [ "`pkg_info | grep -i opencsg`" ]; then
+ echo Stopping. Please remove any OpenCSG packages you have installed and restart
+ exit
+fi
OPENSCADDIR=$PWD
if [ ! -f $OPENSCADDIR/openscad.pro ]; then
contact: Jan Huwald // Impressum