|
@ -163,9 +163,13 @@ option() { |
|
|
|
|
|
|
|
|
local enabled=false |
|
|
local enabled=false |
|
|
local opt |
|
|
local opt |
|
|
local IFS=','; for opt in $options; do |
|
|
local IFS=','; for option in $options; do |
|
|
local option="$(echo "$opt" | cut -d '=' -f 1)" |
|
|
case "$option" in |
|
|
local value="$(echo "$opt" | cut -d '=' -f 2)" |
|
|
*=*) |
|
|
|
|
|
local value="$(echo "$option" | cut -d '=' -f 2)" |
|
|
|
|
|
local option="$(echo "$option" | cut -d '=' -f 1)" |
|
|
|
|
|
;; |
|
|
|
|
|
esac |
|
|
|
|
|
|
|
|
if [ "$option" = "$check" ]; then |
|
|
if [ "$option" = "$check" ]; then |
|
|
local enabled=true |
|
|
local enabled=true |
|
|