Skip to content

Commit

Permalink
Declare $INI before reading ini
Browse files Browse the repository at this point in the history
  • Loading branch information
jcass77 committed Mar 6, 2015
1 parent a415c1d commit bb7032b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions filechanges/opt/musicbox/setsound.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ then
# Convert windows ini to unix
dos2unix -n $CONFIG_FILE /tmp/settings.ini > /dev/null 2>&1 || true

#declare $INI before reading ini https://github.com/rudimeier/bash_ini_parser/issues/2
unset INI
declare -A INI

# ini vars to mopidy settings
read_ini /tmp/settings.ini

Expand Down

0 comments on commit bb7032b

Please sign in to comment.