CI: Fix style script
- when passing in more than one directory, expanded the wrong variable
This commit is contained in:
parent
7fcb7be1e4
commit
fa676c573e
@ -37,7 +37,7 @@ style_some()
|
|||||||
if test "x$any_dirs" = "xyes" ; then
|
if test "x$any_dirs" = "xyes" ; then
|
||||||
for d in "$@"
|
for d in "$@"
|
||||||
do
|
do
|
||||||
if test -d "$@" ; then
|
if test -d "$d" ; then
|
||||||
style_some $( find "$d" -maxdepth 1 -type f -name '*.cpp' -o -name '*.h' )
|
style_some $( find "$d" -maxdepth 1 -type f -name '*.cpp' -o -name '*.h' )
|
||||||
else
|
else
|
||||||
style_some "$d"
|
style_some "$d"
|
||||||
|
Loading…
Reference in New Issue
Block a user