summaryrefslogtreecommitdiff
path: root/scripts/check-dependencies.sh
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-12-21 00:24:06 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-12-21 00:24:06 (GMT)
commitced98a72c061a9b095f72ece253fcc78ebabee08 (patch)
tree7d46e94d08912f535d4e045f24eb2066f63ee776 /scripts/check-dependencies.sh
parent596fe6271f316f83239d4466eca66182da2948f2 (diff)
fix bug detecting if CGAL was already downloaded. simplify some wording
Diffstat (limited to 'scripts/check-dependencies.sh')
-rwxr-xr-xscripts/check-dependencies.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/check-dependencies.sh b/scripts/check-dependencies.sh
index b60fae6..1ac864c 100755
--- a/scripts/check-dependencies.sh
+++ b/scripts/check-dependencies.sh
@@ -1,6 +1,5 @@
-# Determine which versions of dependency libraries and tools are
-# available on the system. Compare these versions with the minimum parsed
-# from README.md and print results.
+# Parse the minimum versions of dependencies from README.md, and compare
+# with what is found on the system. Print results.
#
# usage
# check-dependencies.sh # check version of all dependencies
@@ -23,7 +22,6 @@
# if /usr/ and /usr/local/ on linux both hit, throw an error
# fallback- pkgconfig --exists, then --modversion
# fallback2 - pkg manager
-# todo - use OPENSCAD_LIBRARIES ???
# - print location found, how found???
#
DEBUG=
@@ -386,7 +384,7 @@ get_minversion_from_readme()
READFILE=`dirname $0`/../README.md
fi
fi
- if [ ! $READFILE ]; then echo "cannot find README.md"; exit; fi
+ if [ ! $READFILE ]; then echo "cannot find README.md"; exit 1; fi
debug get_minversion_from_readme $*
if [ ! $1 ]; then return; fi
depname=$1
contact: Jan Huwald // Impressum