From: biao716.wang Date: Tue, 16 Jun 2020 01:50:40 +0000 (+0900) Subject: remove unused directory at the end of build step X-Git-Tag: submit/trunk/20200723.141412~1^2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F54%2F236254%2F1;p=tools%2Fbuild.git remove unused directory at the end of build step Change-Id: Ia96bfa9808fce5582dccaf9ca712b3e56f4a7fba Signed-off-by: biao716.wang --- 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