Skip to content

Commit b9ef1b3

Browse files
authored
fix: use correct IFS when printing table (#94)
1 parent baeceb5 commit b9ef1b3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

kvm-install-vm

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,8 +739,10 @@ function set_custom_defaults ()
739739
declare -gA BUILTIN_VM_SOURCES=()
740740
declare -gA BUILTIN_VM_ARCHS=()
741741

742+
local IFS="|"
743+
742744
for entry in "${BUILTIN_VMS[@]}"; do
743-
IFS=":" read -r name description arch url <<< "$entry"
745+
read -r name description arch url <<< "$entry"
744746
key="${name}_${arch}"
745747
BUILTIN_VM_DESCRIPTIONS["$key"]=$description
746748
BUILTIN_VM_ARCHS["$key"]=$arch

0 commit comments

Comments
 (0)