mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 07:39:26 +01:00
lint: bash is hard, actually return errors
This commit is contained in:
parent
2fdfacd6d9
commit
8a1bbaa563
@ -5,7 +5,7 @@
|
|||||||
fail=0
|
fail=0
|
||||||
|
|
||||||
# Check for clang-format issues.
|
# Check for clang-format issues.
|
||||||
git status --porcelain | awk '{print $2}' | while read f; do
|
for f in $(git status --porcelain | awk '{print $2}'); do
|
||||||
if ! echo "${f}" | egrep -q "[.](cpp|h|mm)$"; then
|
if ! echo "${f}" | egrep -q "[.](cpp|h|mm)$"; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user