diff options
author | Josh Gao <jmgao@google.com> | 2016-02-02 11:50:47 -0800 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2016-02-02 11:50:47 -0800 |
commit | d8bda639557b9d6a330d0eee2f25eaf14271826f (patch) | |
tree | d5ae2ea59a3f3dae66a71b6989deade27f8aee90 | |
parent | 7726aedc24eff4ed74dfe9866bfed2feb8ee410e (diff) | |
download | ndk-d8bda639557b9d6a330d0eee2f25eaf14271826f.tar.gz |
Delete /tmp/ndk-<username> directory before building.
Stale files getting packaged has been screwing us over for a while. Blow
away the temp directory before each build to avoid this.
Bug: http://b/25457900
Bug: http://b/26874549
Change-Id: If39c97be1a30cec181397fb8959834bada96d2e6
-rwxr-xr-x | build/tools/dev-cleanup.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/tools/dev-cleanup.sh b/build/tools/dev-cleanup.sh index 72609850f..0ce9985c6 100755 --- a/build/tools/dev-cleanup.sh +++ b/build/tools/dev-cleanup.sh @@ -47,6 +47,9 @@ rm -rf $DIR/$GCCUNWIND_SUBDIR/libs rm -rf $DIR/$LIBCXX_SUBDIR/libs rm -rf $DIR/$SUPPORT_SUBDIR/libs +# Remove the temp directory. +rm -rf $TMPDIR + clean_dir () { if [ -d "$1" ] ; then |