aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/check-version
diff options
context:
space:
mode:
authorGravatar Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>2013-05-12 11:47:47 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-12 07:23:37 -0700
commit20f086c4a84d78434ea4420c56cc2c80791905a3 (patch)
tree08e8b7a51eed0a22948002d3f8ba9abcdd92fef3 /scripts/check-version
parent05a5a1ccf817a6b67ee2ba0474e379a198db5aa4 (diff)
downloadsubsurface-20f086c4a84d78434ea4420c56cc2c80791905a3.tar.gz
Correct parameter expansion expression.
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts/check-version')
-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