diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2020-03-30 11:03:46 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-03-30 11:03:46 +0200 |
| commit | 3e4d022d0425e4f7647573c97f105aa5208e5537 (patch) | |
| tree | dd766844932ba637e3aad4c23ae06f09416abac6 /utils/lxc.sh | |
| parent | 5e2b161379420acd39e0474bb7f59545df7e1f3a (diff) | |
[fix] make test.sh: fix various shellcheck error messages
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/lxc.sh')
| -rwxr-xr-x | utils/lxc.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/lxc.sh b/utils/lxc.sh index 6070735ea..b03ce2af8 100755 --- a/utils/lxc.sh +++ b/utils/lxc.sh @@ -104,7 +104,7 @@ cmd -- run command '...' in all containers of the LXC suite :<name>: run command '...' in container <name> install - :suite: install LXC suite; ${lxc_suite_install_info} + :suite: install LXC suite; ${LXC_SUITE_INSTALL_INFO} :base: prepare LXC; install basic packages :buildhost: prepare LXC; install buildhost packages @@ -241,13 +241,14 @@ main() { sudo_or_exit case $2 in suite|base|buildhost) - lxc_exec "${LXC_REPO_ROOT}/utils/lxc.sh" __install $2 + lxc_exec "${LXC_REPO_ROOT}/utils/lxc.sh" __install "$2" ;; *) usage "$_usage"; exit 42 ;; esac ;; __install) # wrapped install commands, called once in each container + # shellcheck disable=SC2119 case $2 in suite) lxc_suite_install ;; base) FORCE_TIMEOUT=0 lxc_install_base_packages ;; |