summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd/install.sh14
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()