diff options
| author | Mathieu Arnold <mat@FreeBSD.org> | 2018-06-01 16:20:33 +0000 |
|---|---|---|
| committer | Mathieu Arnold <mat@FreeBSD.org> | 2018-06-01 16:20:33 +0000 |
| commit | 6675b402ba4a8251ee1744c7244382b7963b36a4 (patch) | |
| tree | de724059a5d17318ff8b7ea94031d6baed30ae16 /Mk/Scripts | |
| parent | SC2221 & SC2222: This pattern always overrides a later/previous one. (diff) | |
SC2198: Arrays don't work as operands in [ ]. Use a loop (or concatenate with * instead of @).
Array expansions become a series of words in [ .. ]. Operators expect
single words only.
PR: 227109
Submitted by: mat
Sponsored by: Absolight
Diffstat (limited to 'Mk/Scripts')
| -rw-r--r-- | Mk/Scripts/checksum.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Scripts/checksum.sh b/Mk/Scripts/checksum.sh index 7a0872209575..cde14a831999 100644 --- a/Mk/Scripts/checksum.sh +++ b/Mk/Scripts/checksum.sh @@ -87,7 +87,7 @@ if [ -f "${dp_DISTINFO_FILE}" ]; then if [ "$OK" != "true" ]; then exit 1 fi -elif [ -n "${@}" ]; then +elif [ -n "${*}" ]; then ${dp_ECHO_MSG} "=> No checksum file (${dp_DISTINFO_FILE})." exit 1 fi |
