.gitcheck: reduce indentation level for loop
Signed-off-by: Leah Rowe <leah@libreboot.org>fsdg20230625
parent
ecd7f1d11e
commit
0f3c3ca600
|
@ -22,7 +22,9 @@ set_placeholders()
|
|||
set_git_credentials
|
||||
|
||||
# Check coreboot as well to prevent errors during building
|
||||
if [ -d coreboot ]; then
|
||||
if [ ! -d coreboot ]; then
|
||||
return
|
||||
fi
|
||||
for x in coreboot/*; do
|
||||
if [ ! -d "${x}" ]; then
|
||||
continue
|
||||
|
@ -31,7 +33,6 @@ set_placeholders()
|
|||
set_git_credentials
|
||||
cd -
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
set_git_credentials()
|
||||
|
|
Loading…
Reference in New Issue