aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/check-version2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-version b/scripts/check-version
index 82d2f3498..53a9a8412 100755
--- a/scripts/check-version
+++ b/scripts/check-version
@@ -46,7 +46,7 @@ if [ $debug = y ]; then
else
opts=-q
fi
-[ $color = n ] || opts="${opts:+ }--color"
+[ $color = n ] || opts="${opts:+$opts }--color"
v=${1:-}
case $v in