diff options
author | Dan Albert <danalbert@google.com> | 2015-08-28 17:45:02 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-08-28 17:45:02 +0000 |
commit | 9137170b44fa552c59ab178ae32dd942b6e6c109 (patch) | |
tree | cc888a86163d870bc5d628d124d510ad95b341b7 /build-gdb.sh | |
parent | 4d4c236c06acace3573e41c59fa828340451816a (diff) | |
parent | 0d34e5f3808ef0fea628ab827247554dc9f4445a (diff) | |
download | gdb-9137170b44fa552c59ab178ae32dd942b6e6c109.tar.gz |
Merge "Stop installing GDB/Python to source directories."
Diffstat (limited to 'build-gdb.sh')
-rwxr-xr-x | build-gdb.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/build-gdb.sh b/build-gdb.sh index 12cce5985..29280fada 100755 --- a/build-gdb.sh +++ b/build-gdb.sh @@ -234,8 +234,8 @@ need_build_host_gdb () install_host_gdb () { local SRCDIR="$(gdb_build_install_dir $1 $2 $3)" - local DSTDIR="$NDK_DIR/$(gdb_ndk_install_dir $1 $2 $3)" - local PYDIR="$NDK_DIR/$(python_ndk_install_dir $1)" + local DSTDIR="$TMPDIR/$(gdb_ndk_install_dir $1 $2 $3)" + local PYDIR="$TMPDIR/$(python_ndk_install_dir $1)" need_build_host_gdb $1 $2 $3 @@ -297,7 +297,8 @@ package_host_gdb () bh_set_target_tag $2 dump "$(bh_host_text) $PACKAGENAME: Packaging" - run pack_archive "$PACKAGE" "$NDK_DIR" "$SRCDIR" + run pack_archive "$PACKAGE" "$TMPDIR" "$SRCDIR" + fail_panic "Failed to package GDB!" } GDB_VERSION=$(commas_to_spaces $GDB_VERSION) |