Skip to content

Commit

Permalink
Merge pull request #189 from andreas-schwab/master
Browse files Browse the repository at this point in the history
Preserve full contents in array append assignment
  • Loading branch information
mlschroe committed Jul 21, 2015
2 parents 784c667 + 2a2253e commit 9b9abf2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build-vm
Original file line number Diff line number Diff line change
Expand Up @@ -232,17 +232,17 @@ vm_parse_options() {
;;
-vm-net)
needarg
VM_NETOPT=($VM_NETOPT "$ARG")
VM_NETOPT=("${VM_NETOPT[@]}" "$ARG")
shift
;;
-vm-netdev)
needarg
VM_NETDEVOPT=($VM_NETDEVOPT "$ARG")
VM_NETDEVOPT=("${VM_NETDEVOPT[@]}" "$ARG")
shift
;;
-vm-device)
needarg
VM_DEVICEOPT=($VM_DEVICEOPT "$ARG")
VM_DEVICEOPT=("${VM_DEVICEOPT[@]}" "$ARG")
shift
;;
-*)
Expand Down

0 comments on commit 9b9abf2

Please sign in to comment.