]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:script: Fix shellcheck errors in mksyms.sh
authorAndreas Schneider <asn@samba.org>
Thu, 24 Feb 2022 10:32:53 +0000 (11:32 +0100)
committerPavel Filipensky <pfilipensky@samba.org>
Mon, 22 Aug 2022 14:20:36 +0000 (14:20 +0000)
source3/script/mksyms.sh:33:19: error: Double quote array expansions to
avoid re-splitting elements. [SC2068]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
source3/script/mksyms.sh

index 2a412ec8bdf2497d4cb58118ccaa3ac2bdb0a0f6..9a0868510e6ba3be29e88472755a208741f39e91 100755 (executable)
@@ -30,7 +30,7 @@ symsfile="$1"
 shift
 symsfile_tmp="$symsfile.$$.tmp~"
 
-proto_src="$(echo $@ | tr ' ' '\n' | sort | uniq)"
+proto_src="$(echo "$@" | tr ' ' '\n' | sort | uniq)"
 
 echo creating $symsfile