diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-12 23:36:28 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-12 23:36:28 -0500 |
commit | 80125fc674b087b42791d2bd48a74bfa7edb2fe0 (patch) | |
tree | d4ea06292e4c08913b285004dc39d82985926b98 /src/chroot-tools | |
parent | ec88851b92ead25bfdd1e29046c95e7dd4508f3f (diff) |
librechroot: fix a bug in clean_pacman
Diffstat (limited to 'src/chroot-tools')
-rwxr-xr-x | src/chroot-tools/librechroot | 1 |
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[@]}" |