summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2015-10-14 00:14:18 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-10-14 00:14:18 +0000
commitfdc4f8d0ac69878129d85aad778c217a5ef260c8 (patch)
treee8b550b935d6cb4209e000c5029ee1dff683e6f2
parentc83a7997cdd7437f868f7c5de9b9968f48a5fa38 (diff)
parent6e0513d6ec995f391f2c747197c108b7f9088684 (diff)
downloadlinux-x86-fdc4f8d0ac69878129d85aad778c217a5ef260c8.tar.gz
Merge "Don't use readlink to find gdb's location."brillo-m7-releasebrillo-m7-mr-devbrillo-m7-dev
-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" "$@"