From be932af8139d359f9dff9fd461edb4314d309229 Mon Sep 17 00:00:00 2001 From: downtownallday Date: Mon, 23 Aug 2021 16:17:07 -0400 Subject: [PATCH] git remote url does not contain .git extension in github actions --- tests/lib/installed-state.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/installed-state.sh b/tests/lib/installed-state.sh index ce26da22..8cc2c83b 100644 --- a/tests/lib/installed-state.sh +++ b/tests/lib/installed-state.sh @@ -78,7 +78,7 @@ installed_state_compare() { local compare_type="all" source "$s2/info.txt" - if [ -z "$GIT_ORIGIN" ] || grep "mailinabox-ldap.git" <<<"$GIT_ORIGIN" >/dev/null; then + if grep "mailinabox-ldap" <<<"$GIT_ORIGIN" >/dev/null; then GIT_ORIGIN="" source "$s1/info.txt" if ! grep "mailinabox-ldap.git" <<<"$GIT_ORIGIN" >/dev/null; then