From 8ea85471eb2dcdaf16d53ab041d1971435989f56 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 16 Jan 2016 21:51:55 -0500 Subject: cmd/install: s/chroot/root/ --- diff --git a/src/cmd/install.sh b/src/cmd/install.sh index 9c1bf46..ae26588 100644 --- a/src/cmd/install.sh +++ b/src/cmd/install.sh @@ -23,7 +23,7 @@ cmd_install_optstring='a:p:m:F' cmd_install_main() { local suite= - local chroot= + local root= local profile= local foreign= local dev= @@ -42,7 +42,7 @@ cmd_install_main() # TODO: Consider making suite optional, getting a default suite from the # profile. suite="${1}" - chroot="${2}" + root="${2}" if [ "x${suite%%:*}" != "x${suite}" ]; then profile="${suite%%:*}" @@ -60,16 +60,16 @@ cmd_install_main() fi dev='' - if is_block "${chroot}"; then - dev="${chroot}" - chroot="$(block_mount "${dev}")" + if is_block "${root}"; then + dev="${root}" + root="$(block_mount "${dev}")" fi install_system "${cmd_install_opt_m-}" "${suite}" \ "${cmd_install_opt_a-}" "${cmd_install_opt_p-}" \ - "${chroot}" "${foreign}" + "${root}" "${foreign}" - [ "x${dev}" != 'x' ] && block_umount "${chroot}" + [ "x${dev}" != 'x' ] && block_umount "${root}" } cmd_install_register() -- cgit v0.9.1