Merge pull request #4082 from leoetlino/unneeded-awk

Tools: Fix lint by removing unneeded awk
This commit is contained in:
Pierre Bourdon 2016-08-02 22:14:45 +02:00 committed by GitHub
commit 3683840602
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@
#include <thread>
#include <utility>
#include <vector>
#include <curl/curlver.h>
#include "Common/CommonTypes.h"

View File

@ -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