From 0f77b22dbe9cc6c0f353c45a5ccf96758f9ce8fa Mon Sep 17 00:00:00 2001 From: Joakim Roubert Date: Thu, 27 May 2021 09:11:31 +0200 Subject: [PATCH] Update contrib/check-config.sh Co-authored-by: Tianon Gravi Signed-off-by: Joakim Roubert --- contrib/check-config.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/check-config.sh b/contrib/check-config.sh index 5b0abb515c..539f8cc000 100755 --- a/contrib/check-config.sh +++ b/contrib/check-config.sh @@ -60,8 +60,7 @@ color() { white) code=37 ;; esac if [ "$code" ]; then - [ "$codes" ] && codes="$codes " - codes="$codes$code" + codes="${codes:+$codes;}$code" fi fi oldIFS=$IFS