summaryrefslogtreecommitdiff
path: root/libremakepkg
diff options
context:
space:
mode:
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
}