summaryrefslogtreecommitdiff
path: root/.gitcheck
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-08-24 16:37:40 +0100
committerLeah Rowe <leah@libreboot.org>2023-08-24 16:37:40 +0100
commit50c395df59564c19d3a24262810c8dd5ed115db5 (patch)
treea563d3f18c662180fe4b153291c6a5b88203c979 /.gitcheck
parentbe7a5b0ca24d08158ec22b6e487301c6b164eadb (diff)
.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>
Diffstat (limited to '.gitcheck')
-rwxr-xr-x.gitcheck4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitcheck b/.gitcheck
index 8a2b5a90..0e5df8bd 100755
--- a/.gitcheck
+++ b/.gitcheck
@@ -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