Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yangliu committed Feb 18, 2021
1 parent d1a22b8 commit 438a2b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ while read -r line; do
echo "${line}" | grep -e '.*=.*' > /dev/null
if [ $? -eq 0 ]; then
var_name=$(echo "${line}" | awk -F '=' '{print $1}')
var_value=$(eval echo \${$var_name})
var_value="$(eval echo \${$var_name})"
[ ! -z "${var_value}" ] && set_acg_cfg "${var_name}" "${var_value}"
fi
done < "${cfg_file}"
Expand Down

0 comments on commit 438a2b5

Please sign in to comment.