Use installed NetSurf binary when using development environment

This commit is contained in:
Rob Kendrick (fatigue) 2012-11-05 16:07:44 +00:00
parent 07a53f4b44
commit 7124fcd3ea
1 changed files with 1 additions and 4 deletions

View File

@ -20,9 +20,6 @@ echo $0: using $LOG as logfile
ulimit -c unlimited
NETSURFRES=`dirname $0`/gtk/res/
export NETSURFRES
if [ "x$1" = "x--gdb" ]; then
GDB="gdb --args"
echo
@ -35,4 +32,4 @@ if [ "x$1" = "x--gdb" ]; then
shift
fi
exec $GDB `dirname $0`/nsgtk -v "$@" 2>&1 | tee $LOG
exec $GDB $PREFIX/bin/netsurf -v "$@" 2>&1 | tee $LOG