summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlo Marcelo Arenas Belón <carenas@gmail.com>2020-07-19 15:36:05 -0700
committerDaniel Stenberg <daniel@haxx.se>2020-08-01 00:00:31 +0200
commit72707958395af63eba574c4449cf6f901adf8353 (patch)
tree6ac58ed5e3ade63cb3b0bcf978f4abb52fc8874d
parentdaab7b2be74cda5e144a9dc3d10989d3522d2964 (diff)
downloadcurl-72707958395af63eba574c4449cf6f901adf8353.tar.gz
buildconf: avoid array concatenation in die()
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
-rwxr-xr-xbuildconf2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildconf b/buildconf
index 3da0f7b68..a25bc3a84 100755
--- 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
}