mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 02:45:44 -05:00
CI: Fix style script
- when passing in more than one directory, expanded the wrong variable
This commit is contained in:
parent
7fcb7be1e4
commit
fa676c573e
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ style_some()
|
|||
if test "x$any_dirs" = "xyes" ; then
|
||||
for d in "$@"
|
||||
do
|
||||
if test -d "$@" ; then
|
||||
if test -d "$d" ; then
|
||||
style_some $( find "$d" -maxdepth 1 -type f -name '*.cpp' -o -name '*.h' )
|
||||
else
|
||||
style_some "$d"
|
||||
|
|
Loading…
Add table
Reference in a new issue