Skip to content

Commit

Permalink
avoid assigning to a variable which is not POSIX shell proof (bug #1498)
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Catros <vincent.catros@laposte.net>
  • Loading branch information
BegBlev authored and stgraber committed Apr 10, 2017
1 parent f4f749a commit bc86797
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/lxc-alpine.in
Expand Up @@ -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
Expand Down

0 comments on commit bc86797

Please sign in to comment.