diff --git a/astronaut/astronaut b/astronaut/astronaut index 9057243..9a36897 100755 --- a/astronaut/astronaut +++ b/astronaut/astronaut @@ -163,9 +163,13 @@ option() { local enabled=false local opt - local IFS=','; for opt in $options; do - local option="$(echo "$opt" | cut -d '=' -f 1)" - local value="$(echo "$opt" | cut -d '=' -f 2)" + local IFS=','; for option in $options; do + case "$option" in + *=*) + local value="$(echo "$option" | cut -d '=' -f 2)" + local option="$(echo "$option" | cut -d '=' -f 1)" + ;; + esac if [ "$option" = "$check" ]; then local enabled=true