don't override a user supplied prefix on Haiku-OS
authorTony Cook <tony@develop-help.com>
Tue, 12 Jun 2012 11:05:37 +0000 (11:05 +0000)
committerTony Cook <tony@develop-help.com>
Tue, 12 Jun 2012 11:51:32 +0000 (11:51 +0000)
hints/haiku.sh

index c9eba8e..c908bc5 100644 (file)
@@ -1,7 +1,10 @@
 # Haiku hints file
 # $Id$
 
-prefix="/boot/common"
+case "$prefix" in
+'') prefix="/boot/common" ;;
+*) ;; # pass the user supplied value through
+esac
 
 libpth='/boot/home/config/lib /boot/common/lib /system/lib'
 usrinc='/boot/develop/headers/posix'