Call a command by its absolute PATH.

This commit is contained in:
lemniskett 2020-12-28 17:40:21 +07:00
parent 2d68c789cc
commit 3be7844f02

View File

@ -79,7 +79,7 @@ case $1 in
mount -R /boot $CHROOT/boot mount -R /boot $CHROOT/boot
cp /usr/local/share/archbox/chroot_setup.bash $CHROOT/chroot_setup cp /usr/local/share/archbox/chroot_setup.bash $CHROOT/chroot_setup
echo $USER > /tmp/archbox_user echo $USER > /tmp/archbox_user
chroot $CHROOT /bin/bash -c "sh /chroot_setup" chroot $CHROOT /bin/bash -c "/bin/sh /chroot_setup"
;; ;;
-e|--enter) -e|--enter)
storeenv storeenv