diff options
-rwxr-xr-x | buildenv | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -7,7 +7,7 @@ user=${SUDO_USER:-${1}} umount_all() { for mp in home/pkgdest home/srcdest home/${user}; do msg "Umounting /$mp" - umount $CHROOTDIR/$CHCOPY/$mp || error "Couldn't umount" + umount $CHROOTDIR/$CHROOT/$mp || error "Couldn't umount" done } @@ -15,14 +15,14 @@ source /etc/libretools.conf for mp in home/pkgdest home/srcdest home/${user} var/lib/toru; do msg "Binding /$mp" - mount -o bind /$mp $CHROOTDIR/$CHCOPY/$mp || exit 1 + mount -o bind /$mp $CHROOTDIR/$CHROOT/$mp || exit 1 done for etc in etc/makepkg.conf etc/abs.conf etc/mtab; do msg "Copying config /$etc" - cp --remove-destination /$etc $CHROOTDIR/$CHCOPY/$etc || exit 1 + cp --remove-destination /$etc $CHROOTDIR/$CHROOT/$etc || exit 1 done -$(dirname $0)/librechroot $CHCOPY +$(dirname $0)/librechroot $CHROOT exit $? |