Browse Source

Bugfix: Multiple overlays were added as a string, and not an array

Changelog: None

Signed-off-by: Ole Petter <ole.orhagen@northern.tech>
2.0.x
Ole Petter 5 years ago
parent
commit
edf03dc7f2
No known key found for this signature in database GPG Key ID: A7100375167A7B21
  1. 4
      mender-convert-extract
  2. 4
      mender-convert-modify
  3. 4
      mender-convert-package

4
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)

4
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)

4
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)

Loading…
Cancel
Save