commit e25f326d271519b2dfbc51e1b56383c0655094bb parent 52e723819fc407c360d39b5a211e7674f3c70f78 Author: oblique <psyberbits@gmail.com> Date: Sun, 30 Jun 2013 18:40:07 +0300 qemu-arm-chroot: use absolute path of `sh' Diffstat:
M | qemu-arm-chroot | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qemu-arm-chroot b/qemu-arm-chroot @@ -44,4 +44,4 @@ is_mounted "${chroot_path}/dev" || mount -t devtmpfs dev "${chroot_path}/dev" is_mounted "${chroot_path}/dev/pts" || mount -t devpts pts "${chroot_path}/dev/pts" cp -L /etc/resolv.conf "${chroot_path}/etc/resolv.conf" -chroot "${chroot_path}" sh -c ". /etc/profile; cd ~; ${chroot_shell}" +chroot "${chroot_path}" /bin/sh -c ". /etc/profile; cd ~; ${chroot_shell}"