summaryrefslogtreecommitdiff
path: root/bin/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gdb')
-rwxr-xr-xbin/gdb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gdb b/bin/gdb
index 85d1900..d560b97 100755
--- a/bin/gdb
+++ b/bin/gdb
@@ -1,3 +1,3 @@
#!/bin/bash
-GDBDIR=$(dirname $(readlink -f $0))
+GDBDIR=$(cd $(dirname $0) && pwd)
PYTHONHOME="$GDBDIR/.." "$GDBDIR/gdb-orig" "$@"