summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2020-04-17 12:21:48 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2020-04-17 13:16:42 +0200
commit19678c54349aeca7a61c778fd767d0a265bc4c1c (patch)
treecd86f1c7b99393afd7a8b7fb515985d84e1cc236
parentdcb7ec0c6b11a51c76ded5926f53530cc4c8b690 (diff)
downloadabuild-19678c54349aeca7a61c778fd767d0a265bc4c1c.tar.bz2
abuild-19678c54349aeca7a61c778fd767d0a265bc4c1c.tar.xz
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.
-rw-r--r--abuild.in2
1 files changed, 1 insertions, 1 deletions
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" \