diff options
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/check_clang_tidy_fix.sh')
| -rwxr-xr-x | clang-tools-extra/test/clang-tidy/check_clang_tidy_fix.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/test/clang-tidy/check_clang_tidy_fix.sh b/clang-tools-extra/test/clang-tidy/check_clang_tidy_fix.sh index 4cdadeffaf4..dc9a5bb3451 100755 --- a/clang-tools-extra/test/clang-tidy/check_clang_tidy_fix.sh +++ b/clang-tools-extra/test/clang-tidy/check_clang_tidy_fix.sh @@ -15,7 +15,7 @@ TEMPORARY_FILE=$3.cpp # Feed the rest arguments to clang-tidy after --. shift 3 CLANG_TIDY_ARGS=--std=c++11 -if (($# > 0)) ; then +if [ "$#" -gt 0 ] ; then CLANG_TIDY_ARGS=$* fi |

