diff options
author | Leah Rowe <leah@libreboot.org> | 2024-06-09 15:23:50 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-06-09 15:23:50 +0100 |
commit | 86eb566b131b4e71dce0a911a0d97890338fbe9f (patch) | |
tree | 4e867ba86283ef384f43be4bb18668758630d6fc /include/lib.sh | |
parent | fbcdf33f93149700a69bb588fdb7e9b4ea632037 (diff) |
lib.sh: fix regression
i was being a bit too clever about some optimisations
revert this change. otherwise, nothing will download
or build
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/lib.sh')
-rwxr-xr-x | include/lib.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/lib.sh b/include/lib.sh index cf076388..b3a76879 100755 --- a/include/lib.sh +++ b/include/lib.sh @@ -223,7 +223,8 @@ e() singletree() { for targetfile in "config/${1}/"*/target.cfg; do - [ -e "$targetfile" ] && [ -f "$targetfile" ] && return 1 + [ -e "$targetfile" ] || continue + [ -f "$targetfile" ] && return 1 done } |