From 9277ba2775b596277c9f56c68ba7a5b6bf2be9c0 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sun, 14 Feb 2016 09:26:52 +1100 Subject: [PATCH] Fix some lint errors --- fetch | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/fetch b/fetch index f059f4ec..ed55360f 100755 --- a/fetch +++ b/fetch @@ -1719,13 +1719,13 @@ getascii () { # Overwrite distro colors if '$ascii_colors' doesn't # equal 'distro'. - if [ "$ascii_colors" != "distro" ]; then - c1=$(color ${ascii_colors[0]}) - c2=$(color ${ascii_colors[1]}) - c3=$(color ${ascii_colors[2]}) - c4=$(color ${ascii_colors[3]}) - c5=$(color ${ascii_colors[4]}) - c6=$(color ${ascii_colors[5]}) + if [ "${ascii_colors[0]}" != "distro" ]; then + c1=$(color "${ascii_colors[0]}") + c2=$(color "${ascii_colors[1]}") + c3=$(color "${ascii_colors[2]}") + c4=$(color "${ascii_colors[3]}") + c5=$(color "${ascii_colors[4]}") + c6=$(color "${ascii_colors[5]}") fi # We only use eval in the distro ascii files. @@ -2406,7 +2406,7 @@ while [ "$1" ]; do --stdout) case "$2" in "--"* | "") stdout="on" ;; - *) stdout="on"; stdout_args="on"; args=("$@"); stdout ;; + *) stdout="on"; args=("$@"); stdout ;; esac unset info_color colors