Commit 222d5472 authored by bcwhite@chromium.org's avatar bcwhite@chromium.org

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: svn://svn.chromium.org/chrome/trunk/src@272686 0039d316-1c4b-4281-b951-d872f2087c98
parent ed001e58
......@@ -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"
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