summaryrefslogtreecommitdiffstats
path: root/envsetup.sh
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-06-23 19:48:57 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-06-23 19:48:57 +0000
commitdde1a37eb61a807af666c2adcfcb7c197465da90 (patch)
tree8fe0597060573a412aeaadacd81f25a6a5e99a1e /envsetup.sh
parente9ef4005ea41b757bf1381236acaae124110d9fb (diff)
parentfbc6f25712362b1f9b7b8970a96833ed0be0f12c (diff)
downloadreplicant_build-dde1a37eb61a807af666c2adcfcb7c197465da90.zip
replicant_build-dde1a37eb61a807af666c2adcfcb7c197465da90.tar.gz
replicant_build-dde1a37eb61a807af666c2adcfcb7c197465da90.tar.bz2
am fbc6f257: am c04b4455: Merge "Updated gdbclient path support."
* commit 'fbc6f25712362b1f9b7b8970a96833ed0be0f12c': Updated gdbclient path support.
Diffstat (limited to 'envsetup.sh')
-rw-r--r--envsetup.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/envsetup.sh b/envsetup.sh
index 1d0b1e9..78781f9 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -996,6 +996,9 @@ function gdbclient()
local EXE="$1"
if [ "$EXE" ] ; then
EXE=$1
+ if [[ $EXE =~ ^[^/].* ]] ; then
+ EXE="system/bin/"$EXE
+ fi
else
EXE="app_process"
fi