diff options
author | P. J. McDermott <pj@pehjota.net> | 2016-01-16 21:51:55 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2016-01-16 21:51:55 (EST) |
commit | 8ea85471eb2dcdaf16d53ab041d1971435989f56 (patch) | |
tree | 1455a8e89e0cfa38fd1317ee6f40197e1735b36c /src/cmd | |
parent | 54e006d2672914418ed92dbeb2f10aa9edc84b0e (diff) |
cmd/install: s/chroot/root/
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/install.sh | 14 |
1 files changed, 7 insertions, 7 deletions
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() |