Fixed some problems with tools.

- "cd" under some bash settings can print the current directory
- adb_gdb variable use is missing undescore

BUG=

Review URL: https://codereview.chromium.org/292983014

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272686 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
bcwhite@chromium.org 2014-05-24 02:34:38 +00:00
Родитель 0184cc1a8d
Коммит 0513453a4e
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -16,7 +16,7 @@ PROGNAME=$(basename "$0")
PROGDIR=$(dirname "$0")
# Location of Chromium-top-level sources.
CHROMIUM_SRC=$(cd "$PROGDIR"/../.. && pwd 2>/dev/null)
CHROMIUM_SRC=$(cd "$PROGDIR"/../.. >/dev/null && pwd 2>/dev/null)
# Location of Chromium out/ directory.
if [ -z "$CHROMIUM_OUT_DIR" ]; then
@ -991,6 +991,6 @@ if [ "$VERBOSE" -gt 0 ]; then
echo "### END $COMMANDS"
fi
log "Launching gdb client: $GDB $GDBARGS -x $COMMANDS"
$GDB $GDBARGS -x $COMMANDS &&
log "Launching gdb client: $GDB $GDB_ARGS -x $COMMANDS"
$GDB $GDB_ARGS -x $COMMANDS &&
rm -f "$GDBSERVER_PIDFILE"