mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 13:14:29 -08:00
tests/indent.sh: use find because dash cannot expand **
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
ret=0
|
||||
for f in ../**/*.c ../**/*.h; do
|
||||
find .. -name "*.c" -o -name "*.h" | while read f; do
|
||||
case $f in
|
||||
../**/CMakeFiles/**/*)
|
||||
../*/CMakeFiles/*)
|
||||
;;
|
||||
*)
|
||||
INDENT_PROFILE=../.indent.pro indent -st $f | diff -u $f -
|
||||
|
||||
Reference in New Issue
Block a user