Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-02-15 17:34:31 -0500
committerLuke Shumaker <lukeshu@parabola.nu>2017-02-15 17:34:31 -0500
commit428cf5f1f8718f0abc2a9410677222889b9c8470 (patch)
treea566705aa14d6fa3f123ea6fc6ad239ee81a3aa2
parent5f3b9de5178b6be3bb12390d5fb299594a757844 (diff)
makechrootpkg: _chrootprepare: Clean srcdest and startdir.
-rw-r--r--makechrootpkg.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index 67d2cf8..d40bb88 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -369,6 +369,7 @@ _chrootprepare() {
shopt -s nullglob
# XXX: Workaround makepkg disliking read-only dirs
+ rm -rf -- /srcdest/* /startdir/*
ln -sft /srcdest /srcdest_host/*
ln -sft /startdir /startdir_host/*