summaryrefslogtreecommitdiff
path: root/nsfb
diff options
context:
space:
mode:
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