check OPENSCAD_LIBRARIES first

issue480
Don Bright 2013-06-22 08:29:42 -05:00
parent ec867349ff
commit b715e580f7
1 changed files with 1 additions and 1 deletions

View File

@ -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