Fix some lint errors

This commit is contained in:
Dylan 2016-02-14 09:26:52 +11:00
parent 96e05f78f8
commit 9277ba2775
1 changed files with 8 additions and 8 deletions

16
fetch
View File

@ -1719,13 +1719,13 @@ getascii () {
# Overwrite distro colors if '$ascii_colors' doesn't # Overwrite distro colors if '$ascii_colors' doesn't
# equal 'distro'. # equal 'distro'.
if [ "$ascii_colors" != "distro" ]; then if [ "${ascii_colors[0]}" != "distro" ]; then
c1=$(color ${ascii_colors[0]}) c1=$(color "${ascii_colors[0]}")
c2=$(color ${ascii_colors[1]}) c2=$(color "${ascii_colors[1]}")
c3=$(color ${ascii_colors[2]}) c3=$(color "${ascii_colors[2]}")
c4=$(color ${ascii_colors[3]}) c4=$(color "${ascii_colors[3]}")
c5=$(color ${ascii_colors[4]}) c5=$(color "${ascii_colors[4]}")
c6=$(color ${ascii_colors[5]}) c6=$(color "${ascii_colors[5]}")
fi fi
# We only use eval in the distro ascii files. # We only use eval in the distro ascii files.
@ -2406,7 +2406,7 @@ while [ "$1" ]; do
--stdout) --stdout)
case "$2" in case "$2" in
"--"* | "") stdout="on" ;; "--"* | "") stdout="on" ;;
*) stdout="on"; stdout_args="on"; args=("$@"); stdout ;; *) stdout="on"; args=("$@"); stdout ;;
esac esac
unset info_color colors unset info_color colors