From c167fabc71afdb1aa564f629667bbfddb23fe23e Mon Sep 17 00:00:00 2001 From: "biao716.wang" Date: Tue, 16 Jun 2020 10:50:40 +0900 Subject: [PATCH] remove unused directory at the end of build step Change-Id: Ia96bfa9808fce5582dccaf9ca712b3e56f4a7fba Signed-off-by: biao716.wang --- init_buildsystem | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1