From 19678c54349aeca7a61c778fd767d0a265bc4c1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Fri, 17 Apr 2020 12:21:48 +0200 Subject: Revert "abuild: include $pkgname in temporary rootbld directory" This commit broke abuild-rmtemp which has a prefix check to ensure it doesn't remove non-abuild directories. Revert the commit instead of adjusting the prefix check for now. This reverts commit d0828c06557773f252b645618500699a941bd091. --- abuild.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abuild.in b/abuild.in index 6c56d4a..50b4ce8 100644 --- a/abuild.in +++ b/abuild.in @@ -2279,7 +2279,7 @@ rootbld() { mkusers - BUILD_ROOT=$(mktemp -d "/var/tmp/abuild-$pkgname.XXXXXXXXXX") + BUILD_ROOT=$(mktemp -d /var/tmp/abuild.XXXXXXXXXX) mkdir -p "$BUILD_ROOT/proc" "$BUILD_ROOT/etc/apk/keys" \ "$BUILD_ROOT/$HOME/.abuild" "$BUILD_ROOT/$aportsgit" \ -- cgit v1.2.3