Files
modules/testsuite/cmd.exe
Lukáš Zaoral 06b0a89655 lint(ShellCheck): fix SC2048 warning
According to ShellCheck's documentation:

Use "$@" (with quotes) to prevent whitespace problems.  $* and ${array[*]},
unquoted, is subject to word splitting and globbing.

Related: https://www.shellcheck.net/wiki/SC2048
Related: #470
2022-09-02 09:52:05 +02:00

6 lines
127 B
Bash
Executable File

#!/bin/sh
# fake Windows cmd.exe command execution
shift 1
# shellcheck disable=2048 # word expansion from string expected
$*