From 3e4d022d0425e4f7647573c97f105aa5208e5537 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Mon, 30 Mar 2020 11:03:46 +0200 Subject: [fix] make test.sh: fix various shellcheck error messages Signed-off-by: Markus Heiser --- utils/lxc.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'utils/lxc.sh') 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 :: run command '...' in container 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 ;; -- cgit v1.2.3