summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlibrechroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/librechroot b/librechroot
index b4766e6..c8e02b0 100755
--- a/librechroot
+++ b/librechroot
@@ -46,7 +46,7 @@ function usage {
function clean_chroot { # Clean packages with pacman
cp -a "$(dirname $0)/chcleanup" "${CHROOTDIR}/${CHROOTNAME}/clean"
- mkarchroot -r "/clean"
+ mkarchroot -r "cd /build; /clean" "${CHROOTDIR}/${CHROOTNAME}"
}
function clean_repo {