From 7276799bd7de7b147d4f3fed62ee30917dc22c3a Mon Sep 17 00:00:00 2001 From: Vincent Catros Date: Fri, 7 Apr 2017 17:14:44 +0200 Subject: [PATCH] avoid assigning to a variable which is not POSIX shell proof (bug #1498) Signed-off-by: Vincent Catros --- templates/lxc-alpine.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in index 44173eed32..1547c2c1a1 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