summaryrefslogtreecommitdiff
path: root/librechroot
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-11-05 16:43:12 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-11-05 16:43:12 -0300
commit48ca24dd22a16fb584b4bbe9684a87a44d4deb26 (patch)
tree391c37b58b270217f498ffb4ef23e07e77073a5a /librechroot
parent78a5a4d9c6b6010d4064614e5d5a095bf54fddee (diff)
Run chcleanup correctly
Diffstat (limited to 'librechroot')
-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 {