summaryrefslogtreecommitdiff
path: root/nsfb
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2009-02-21 10:52:24 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2009-02-21 10:52:24 +0000
commit7b838593f25af93c4b4a3faef6ea33bce34b8d24 (patch)
tree618a22e4a35e14d732b469fc948a17deebf91ea8 /nsfb
parent756c393abb5abb1cd13e646cfc3d78b5d90b10a5 (diff)
downloadnetsurf-7b838593f25af93c4b4a3faef6ea33bce34b8d24.tar.gz
netsurf-7b838593f25af93c4b4a3faef6ea33bce34b8d24.tar.bz2
Let nsfb script be able to run nsfb from other directories.
svn path=/trunk/netsurf/; revision=6587
Diffstat (limited to 'nsfb')
-rwxr-xr-xnsfb6
1 files changed, 3 insertions, 3 deletions
diff --git a/nsfb b/nsfb
index 7e2ded095..15ee0aa50 100755
--- a/nsfb
+++ b/nsfb
@@ -12,11 +12,11 @@ else
LOG=netsurf-log.txt
fi
-if [ -x nsfb-sdl ]; then
+if [ -x $(dirname $0)/nsfb-sdl ]; then
TYPE=-sdl
-elif [ -x nsfb-linux ]; then
+elif [ -x $(dirname $0)/nsfb-linux ]; then
TYPE=-linux
-elif [ -x nsfb-dummy ]; then
+elif [ -x $(dirname $0)/nsfb-dummy ]; then
TYPE=-dummy
fi