Skip to content

Commit

Permalink
change syntax in array append assignments for older bash versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bugfinder committed Jul 9, 2015
1 parent c2914f4 commit 44f85ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build-vm
Expand Up @@ -232,17 +232,17 @@ vm_parse_options() {
;;
-vm-net)
needarg
VM_NETOPT+=("$ARG")
VM_NETOPT=($VM_NETOPT "$ARG")
shift
;;
-vm-netdev)
needarg
VM_NETDEVOPT+=("$ARG")
VM_NETDEVOPT=($VM_NETDEVOPT "$ARG")
shift
;;
-vm-device)
needarg
VM_DEVICEOPT+=("$ARG")
VM_DEVICEOPT=($VM_DEVICEOPT "$ARG")
shift
;;
-*)
Expand Down

0 comments on commit 44f85ec

Please sign in to comment.