summaryrefslogtreecommitdiff
path: root/init_buildsystem
diff options
context:
space:
mode:
Diffstat (limited to 'init_buildsystem')
-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