From edf03dc7f2b843242e7defcc8866129c637a44c0 Mon Sep 17 00:00:00 2001 From: Ole Petter Date: Sat, 4 Jan 2020 14:23:09 +0100 Subject: [PATCH] Bugfix: Multiple overlays were added as a string, and not an array Changelog: None Signed-off-by: Ole Petter --- mender-convert-extract | 4 ++-- mender-convert-modify | 4 ++-- mender-convert-package | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mender-convert-extract b/mender-convert-extract index e611677..1f700a3 100755 --- a/mender-convert-extract +++ b/mender-convert-extract @@ -1,6 +1,6 @@ #! /usr/bin/env bash # -# Copyright 2019 Northern.tech AS +# Copyright 2020 Northern.tech AS # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -26,7 +26,7 @@ disk_image="" while (( "$#" )); do case "$1" in -o | --overlay) - overlays+="${2}" + overlays+=("${2}") shift 2 ;; -c | --config) diff --git a/mender-convert-modify b/mender-convert-modify index 36d36d1..16d4a6c 100755 --- a/mender-convert-modify +++ b/mender-convert-modify @@ -1,6 +1,6 @@ #! /usr/bin/env bash # -# Copyright 2019 Northern.tech AS +# Copyright 2020 Northern.tech AS # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -49,7 +49,7 @@ declare -a configs=("configs/mender_convert_config") while (( "$#" )); do case "$1" in -o | --overlay) - overlays+="${2}" + overlays+=("${2}") shift 2 ;; -c | --config) diff --git a/mender-convert-package b/mender-convert-package index 5649492..7b870f8 100755 --- a/mender-convert-package +++ b/mender-convert-package @@ -1,6 +1,6 @@ #! /usr/bin/env bash # -# Copyright 2019 Northern.tech AS +# Copyright 2020 Northern.tech AS # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -44,7 +44,7 @@ declare -a configs=("configs/mender_convert_config") while (( "$#" )); do case "$1" in -o | --overlay) - overlays+="${2}" + overlays+=("${2}") shift 2 ;; -c | --config)