From bc86797e63f5aee394357ca662a6c377cfbaf283 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 6100a8dd18..e66c46902e 100644 --- a/templates/lxc-alpine.in +++ b/templates/lxc-alpine.in @@ -261,8 +261,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