diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2016-08-02 22:14:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-02 22:14:45 +0200 |
| commit | 3683840602cc178ace2d3afe0af7f5dfd4bb4eb8 (patch) | |
| tree | 24a3cc25bce055f4683f294039c6aaa31fb4ef93 | |
| parent | c3b932c46eef0fcf2bf8365c08d9b848e150e05e (diff) | |
| parent | cbb77532c69d232ac57f43c5146029d02cc00ec9 (diff) | |
Merge pull request #4082 from leoetlino/unneeded-awk
Tools: Fix lint by removing unneeded awk
| -rw-r--r-- | Source/Core/Common/Analytics.h | 1 | ||||
| -rwxr-xr-x | Tools/lint.sh | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/Common/Analytics.h b/Source/Core/Common/Analytics.h index 45ff2698f5..816785ee67 100644 --- a/Source/Core/Common/Analytics.h +++ b/Source/Core/Common/Analytics.h @@ -10,6 +10,7 @@ #include <thread> #include <utility> #include <vector> + #include <curl/curlver.h> #include "Common/CommonTypes.h" diff --git a/Tools/lint.sh b/Tools/lint.sh index 6802e7abb5..841c7d0d92 100755 --- a/Tools/lint.sh +++ b/Tools/lint.sh @@ -5,7 +5,7 @@ fail=0 # Check for clang-format issues. -for f in $(git diff --name-only --diff-filter=ACMRTUXB | awk '{print $2}'); do +for f in $(git diff --name-only --diff-filter=ACMRTUXB); do if ! echo "${f}" | egrep -q "[.](cpp|h|mm)$"; then continue fi |
