tests/indent.sh: use find because dash cannot expand **

This commit is contained in:
josch
2014-09-20 14:38:26 +02:00
parent e45d0e883d
commit e10ed72a48

View File

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