]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
buildconf: avoid array concatenation in die()
authorCarlo Marcelo Arenas Belón <carenas@gmail.com>
Sun, 19 Jul 2020 22:36:05 +0000 (15:36 -0700)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 31 Jul 2020 22:00:31 +0000 (00:00 +0200)
reported as error SC2145[1] by shellcheck, but not expected to cause
any behavioural differences otherwise.

[1] https://github.com/koalaman/shellcheck/wiki/SC2145

Closes #5701

buildconf

index 3da0f7b6888ed7133685d6c9f9b75c34256dcd6a..a25bc3a8452dd5747dca8138e9ab434b9d779a60 100755 (executable)
--- a/buildconf
+++ b/buildconf
@@ -25,7 +25,7 @@
 # die prints argument string to stdout and exits this shell script.
 #
 die(){
-  echo "buildconf: $@"
+  echo "buildconf: $*"
   exit 1
 }