summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-11-12 23:36:28 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-11-12 23:36:28 -0500
commit80125fc674b087b42791d2bd48a74bfa7edb2fe0 (patch)
treed4ea06292e4c08913b285004dc39d82985926b98
parentec88851b92ead25bfdd1e29046c95e7dd4508f3f (diff)
librechroot: fix a bug in clean_pacman
-rwxr-xr-xsrc/chroot-tools/librechroot1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot
index 2c952cc..07360d7 100755
--- a/src/chroot-tools/librechroot
+++ b/src/chroot-tools/librechroot
@@ -70,6 +70,7 @@ clean_pacman() {
msg "Cleaning chroot with pacman: ${copydir}"
cp -a "$(dirname $0)/chcleanup" "${copydir}/clean"
+ mkdir -p "$copydir/build"
mkarchroot -r "cd /build; /clean" "${copydir}"
#mkarchroot "${copydir}" base base-devel sudo "${CHROOTEXTRAPKG[@]}"