]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:script: Fix shellcheck errors in dlopen.sh
authorAndreas Schneider <asn@samba.org>
Thu, 24 Feb 2022 10:36:58 +0000 (11:36 +0100)
committerPavel Filipensky <pfilipensky@samba.org>
Mon, 22 Aug 2022 14:20:36 +0000 (14:20 +0000)
source3/script/tests/dlopen.sh:51:12: 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/tests/dlopen.sh

index de54d6dde390af02bf046f7d579432cc2eb8ca48..a1299b20fb1334de3380a0228578f44226883276 100755 (executable)
@@ -48,7 +48,7 @@ int main(int argc, char **argv)
 }
 _EOF
 
-for arg in $@; do
+for arg in "$@"; do
        case "$arg" in
        "") ;;