Let nsfb script be able to run nsfb from other directories.

svn path=/trunk/netsurf/; revision=6587
This commit is contained in:
Michael Drake 2009-02-21 10:52:24 +00:00
parent 756c393abb
commit 7b838593f2

6
nsfb
View File

@ -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