diff options
Diffstat (limited to 'xulrunner.sh.in')
-rw-r--r-- | xulrunner.sh.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xulrunner.sh.in b/xulrunner.sh.in index 8f76b27..afe843c 100644 --- a/xulrunner.sh.in +++ b/xulrunner.sh.in @@ -46,17 +46,17 @@ case $XUL_ARCH in ;; esac -if [ ! -x $XUL_LIB_DIR/xulrunner-XULRUNNER_VERSION/xulrunner ]; then - if [ ! -x $SECONDARY_LIB_DIR/xulrunner-XULRUNNER_VERSION/xulrunner ]; then - echo "Error: $XUL_LIB_DIR/xulrunner-XULRUNNER_VERSION/xulrunner not found" +if [ ! -x $XUL_LIB_DIR/xulrunner-last/xulrunner ]; then + if [ ! -x $SECONDARY_LIB_DIR/xulrunner-last/xulrunner ]; then + echo "Error: $XUL_LIB_DIR/xulrunner-last/xulrunner not found" if [ -d $SECONDARY_LIB_DIR ]; then - echo " $SECONDARY_LIB_DIR/xulrunner-XULRUNNER_VERSION/xulrunner not found" + echo " $SECONDARY_LIB_DIR/xulrunner-last/xulrunner not found" fi exit 1 fi XUL_LIB_DIR="$SECONDARY_LIB_DIR" fi -XUL_DIST_BIN="$XUL_LIB_DIR/xulrunner-XULRUNNER_VERSION" +XUL_DIST_BIN="$XUL_LIB_DIR/xulrunner-last" XUL_PROGRAM="$XUL_DIST_BIN/xulrunner" ## |