diff options
Diffstat (limited to 'utils/platforms/xulrunner/apps/firenarwhal/firenarwhal')
-rwxr-xr-x | utils/platforms/xulrunner/apps/firenarwhal/firenarwhal | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/utils/platforms/xulrunner/apps/firenarwhal/firenarwhal b/utils/platforms/xulrunner/apps/firenarwhal/firenarwhal deleted file mode 100755 index 206550b..0000000 --- a/utils/platforms/xulrunner/apps/firenarwhal/firenarwhal +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash - -# get the absolute path of the executable -SELF_PATH=$(cd -P -- "$(dirname -- "$0")" && pwd -P) && SELF_PATH=$SELF_PATH/$(basename -- "$0") - -# resolve symlinks -while [ -h "$SELF_PATH" ]; do - DIR=$(dirname -- "$SELF_PATH") - SYM=$(readlink -- "$SELF_PATH") - SELF_PATH=$(cd -- "$DIR" && cd -- $(dirname -- "$SYM") && pwd)/$(basename -- "$SYM") -done - -# Player folder -FIRENARWHAL_HOME=$(dirname -- "$SELF_PATH") - -# get xulrunner -XULRUNNER=$(which xulrunner) -if [ ! $(which $XULRUNNER) ]; then XULRUNNER=$(which firefox); fi -if [ ! $(which $XULRUNNER) ]; then XULRUNNER=$(which /Applications/Firefox.app/Contents/MacOS/firefox); fi - -# runner -if [ $(which $XULRUNNER) ]; then - RUNNER="$XULRUNNER -app $FIRENARWHAL_HOME/application.ini -repl $@" - $RUNNER -else - echo "Can't find nor xulrunner nor firefox on your system !!" -fi |