summaryrefslogtreecommitdiff
path: root/Mk/Scripts/generate-symbols.sh
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-06-01 16:20:22 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-06-01 16:20:22 +0000
commitd605296d6e9553c3177a8b97a377a4807ef5752d (patch)
tree2c0aa1b6b241cc570a48af1aa192eaee132c2aef /Mk/Scripts/generate-symbols.sh
parentgraphics/leptonica: update to 1.76.0 (diff)
SC2145: Argument mixes string and array. Use * or separate argument.
The behavior when concatenating a string and array is rarely intended. The preceeding string is prefixed to the first array element, while the succeeding string is appended to the last one. The middle array elements are unaffected. For example, with the parameters foo,bar,baz, "--flag=$@" is equivalent to the three arguments "--flag=foo" "bar" "baz". PR: 227109 Submitted by: mat Sponsored by: Absolight
Diffstat (limited to 'Mk/Scripts/generate-symbols.sh')
-rw-r--r--Mk/Scripts/generate-symbols.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Scripts/generate-symbols.sh b/Mk/Scripts/generate-symbols.sh
index cdad53635f93..6d490e86c999 100644
--- a/Mk/Scripts/generate-symbols.sh
+++ b/Mk/Scripts/generate-symbols.sh
@@ -3,7 +3,7 @@
# Maintainer: portmgr@FreeBSD.org
msg() {
- echo "====> $@"
+ echo "====> $*"
}
msg "Finding symbols"