From b715e580f7c0e541cc07c0d0d13da8df64d88f18 Mon Sep 17 00:00:00 2001 From: Don Bright Date: Sat, 22 Jun 2013 08:29:42 -0500 Subject: check OPENSCAD_LIBRARIES first diff --git a/scripts/check-dependencies.sh b/scripts/check-dependencies.sh index 5fddb13..c4f2893 100755 --- a/scripts/check-dependencies.sh +++ b/scripts/check-dependencies.sh @@ -432,7 +432,7 @@ find_installed_version() # try to find/parse headers and/or binary output # break on the first match. (change the order to change precedence) if [ ! $fsv_tmp ]; then - for syspath in "/usr/local" "/opt/local" "/usr/pkg" "/usr" $OPENSCAD_LIBRARIES; do + for syspath in $OPENSCAD_LIBRARIES "/usr/local" "/opt/local" "/usr/pkg" "/usr"; do if [ -e $syspath ]; then debug $depname"_sysver" $syspath eval $depname"_sysver" $syspath -- cgit v0.10.1