summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpark <sk7.park@samsung.com>2020-07-07 01:47:46 +0000
committerGerrit Code Review <gerrit@review>2020-07-07 01:47:46 +0000
commit0ae564da4a69f51e87aa297387bd15761b48d624 (patch)
tree035bce11c0ac121843087968fe48fae2267df3d2
parent6de400c8113e97a869eec6b55fce24e3596d187e (diff)
parentc167fabc71afdb1aa564f629667bbfddb23fe23e (diff)
downloadbuild-0ae564da4a69f51e87aa297387bd15761b48d624.tar.gz
build-0ae564da4a69f51e87aa297387bd15761b48d624.tar.bz2
build-0ae564da4a69f51e87aa297387bd15761b48d624.zip
Merge "remove unused directory at the end of build step" into devel
-rwxr-xr-xinit_buildsystem2
1 files changed, 1 insertions, 1 deletions
diff --git a/init_buildsystem b/init_buildsystem
index 43ac57a..721cd55 100755
--- a/init_buildsystem
+++ b/init_buildsystem
@@ -445,7 +445,6 @@ downloadpkg() {
;;
esac
mv "$destfile" "$SRC" || cleanup_and_exit 1
- rm -rf $destdir
}
getcachedir() {
@@ -1194,6 +1193,7 @@ rm -f "$BUILD_ROOT"/.rpmmacros "$BUILD_ROOT"/root/.rpmmacros
rm -rf "$BUILD_ROOT/.init_b_cache"
rm -f $BUILD_IS_RUNNING
rm -f $TMPFILE
+rm -rf "$cachedir/tmp_$$"
cleanup_and_exit 0