summaryrefslogtreecommitdiffstats
path: root/archbuild.in
diff options
context:
space:
mode:
Diffstat (limited to 'archbuild.in')
-rw-r--r--archbuild.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/archbuild.in b/archbuild.in
index 1501a9e..c39760e 100644
--- a/archbuild.in
+++ b/archbuild.in
@@ -51,11 +51,11 @@ if ${clean_first} || [[ ! -d "${chroots}/${repo}-${arch}" ]]; then
fi
{ type -P btrfs && btrfs subvolume delete "${copy}"; } &>/dev/null
- rm -rf "${copy}"
+ rm -rf --one-file-system "${copy}"
done
exec 9>&-
- rm -rf "${chroots}/${repo}-${arch}"
+ rm -rf --one-file-system "${chroots}/${repo}-${arch}"
mkdir -p "${chroots}/${repo}-${arch}"
setarch "${arch}" mkarchroot \
-C "@pkgdatadir@/pacman-${repo}.conf" \