summaryrefslogtreecommitdiff
path: root/libremakepkg
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2011-03-28 16:31:30 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2011-03-28 16:31:30 -0300
commit8749c71ef4069c4a451a01a9c87723abff4272c2 (patch)
tree3e39072abc363dde58d46014245b2c1705b54d55 /libremakepkg
parent1a1d969ece21e9748ed24c8cc7c88d86c3f39b19 (diff)
parenteb9b162a91f5f378d62231a2bd123a2561835a3e (diff)
Merge branch 'master' of ssh://vparabola/srv/git/projects/libretools
Diffstat (limited to 'libremakepkg')
-rwxr-xr-xlibremakepkg3
1 files changed, 1 insertions, 2 deletions
diff --git a/libremakepkg b/libremakepkg
index 78ebefb..8cce89d 100755
--- a/libremakepkg
+++ b/libremakepkg
@@ -39,8 +39,7 @@ pkgbuild-check-nonfree ||{
CLEAN="-c"
msg "Updating the main chroot"
- mount -o bind ${CACHEDIR} ${CHROOTDIR}/${CHROOT}/var/cache/pacman/pkg || exit 1
- mkarchroot -u -- ${CHROOTDIR}/${CHROOT}
+ mkarchroot -c ${CACHEDIR} -u -- ${CHROOTDIR}/${CHROOT}
mount -o bind ${CACHEDIR} ${CHROOTDIR}/${CHCOPY}/var/cache/pacman/pkg || exit 1
}