diff options
author | Paweł Krupa <pawel@krupa.net.pl> | 2018-09-12 23:18:19 +0200 |
---|---|---|
committer | Costa Tsaousis <costa@tsaousis.gr> | 2018-09-13 00:18:19 +0300 |
commit | 0426209eadb5ea4a8ad473b811b0366b7c0d8c80 (patch) | |
tree | 906f9ac8e454cd48e073f18389e281f63bae7913 /cppcheck.sh | |
parent | 98300601b3dd408364afa0fe06ff24e8b3d23d55 (diff) |
[cleanup crusade] linting shell scripts for docker, tests and python (#4162)
* shell linting various scripts
* remove python-modules-installer.sh.in
Diffstat (limited to 'cppcheck.sh')
-rwxr-xr-x | cppcheck.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppcheck.sh b/cppcheck.sh index 08f24dc364..152baf37a2 100755 --- a/cppcheck.sh +++ b/cppcheck.sh @@ -17,7 +17,7 @@ cd "${base}/src" || exit 1 file="${1}" shift -[ "${file}" = "${base}" -o -z "${file}" ] && file="${base}/src" +([ "${file}" = "${base}" ] || [ -z "${file}" ]) && file="${base}/src" "${cppcheck}" \ -j ${processors} \ |