Commit c710c61d authored by Mario Hlawitschka's avatar Mario Hlawitschka
Browse files

Modified debug script to run in current directory so relative paths stay valid

parent 314d2492
#!/bin/sh
# get the current directory
PWD=`pwd`
# get path of this script
BINDIR=`dirname "$0"`
......@@ -12,6 +15,7 @@ echo run $@ > $PARAM_FILENAME
cd "$BINDIR"
# run walnut
gdb ./openwalnut-qt4 -command=$PARAM_FILENAME
gdb ./openwalnut-qt4 -cd=$PWD -command=$PARAM_FILENAME
rm $PARAM_FILENAME
cd $PWD
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment