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