mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-13 23:09:40 +02:00
.gitcheck: continue if no .git (don't break)
the user may have re-downloaded a coreboot tree, in a release. this is supported. therefore, some may have .git, and some will not Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -29,7 +29,7 @@ set_placeholders()
|
||||
[ -d coreboot ] || return 0
|
||||
for x in coreboot/*; do
|
||||
[ -d "${x}" ] || continue
|
||||
[ -e "${x}/.git" ] || break
|
||||
[ -e "${x}/.git" ] || continue
|
||||
(
|
||||
cd "${x}"
|
||||
set_git_credentials
|
||||
@@ -55,7 +55,7 @@ clean()
|
||||
[ -d coreboot ] || return 0
|
||||
for x in coreboot/*; do
|
||||
[ -d "${x}" ] || continue
|
||||
[ -e "${x}/.git" ] || break
|
||||
[ -e "${x}/.git" ] || continue
|
||||
(
|
||||
cd "${x}"
|
||||
unset_placeholders
|
||||
|
||||
Reference in New Issue
Block a user