From: Vincent Catros Date: Fri, 7 Apr 2017 15:14:44 +0000 (+0200) Subject: avoid assigning to a variable which is not POSIX shell proof (bug #1498) X-Git-Tag: lxc-2.1.0~165^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1500%2Fhead;p=thirdparty%2Flxc.git avoid assigning to a variable which is not POSIX shell proof (bug #1498) Signed-off-by: Vincent Catros --- diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in index 44173eed3..1547c2c1a 100644 --- a/templates/lxc-alpine.in +++ b/templates/lxc-alpine.in @@ -263,8 +263,8 @@ install() { } install_packages() { - local arch="$1"; shift - local packages="$@" + local arch="$1" + local packages="$2" $APK --arch="$arch" --root=. --keys-dir="$APK_KEYS_DIR" \ --update-cache --initdb add $packages