From 86eb566b131b4e71dce0a911a0d97890338fbe9f Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 9 Jun 2024 15:23:50 +0100 Subject: 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 --- include/lib.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 } -- cgit v1.2.1