From 3be7844f027e25bd25c44479f037f690a743c3cc Mon Sep 17 00:00:00 2001 From: lemniskett Date: Mon, 28 Dec 2020 17:40:21 +0700 Subject: [PATCH] Call a command by its absolute PATH. --- archbox.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archbox.bash b/archbox.bash index 7c26883..382b495 100755 --- a/archbox.bash +++ b/archbox.bash @@ -79,7 +79,7 @@ case $1 in mount -R /boot $CHROOT/boot cp /usr/local/share/archbox/chroot_setup.bash $CHROOT/chroot_setup echo $USER > /tmp/archbox_user - chroot $CHROOT /bin/bash -c "sh /chroot_setup" + chroot $CHROOT /bin/bash -c "/bin/sh /chroot_setup" ;; -e|--enter) storeenv