diff options
author | Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> | 2013-05-12 11:47:47 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-12 07:23:37 -0700 |
commit | 20f086c4a84d78434ea4420c56cc2c80791905a3 (patch) | |
tree | 08e8b7a51eed0a22948002d3f8ba9abcdd92fef3 /scripts | |
parent | 05a5a1ccf817a6b67ee2ba0474e379a198db5aa4 (diff) | |
download | subsurface-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')
-rwxr-xr-x | scripts/check-version | 2 |
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 |