From e41bdf540d3848ce1693d5b945a61a86793dc000 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Thu, 2 Jun 2022 17:38:02 +0200 Subject: [PATCH] improved regex --- git_helpers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_helpers b/git_helpers index 70a6c2b..1d07853 100755 --- a/git_helpers +++ b/git_helpers @@ -173,7 +173,7 @@ pull_customer_repository () { log_debug "$func:${LINENO} git-pull-result=${git_result}" - if grep -qE "^Already\s+\up\s+\to\s+date.*$" <<< "$git_result"; then + if grep -qE "^.*?Already\s+\up\s+\to\s+date.*$" <<< "$git_result"; then log_warn "$func:${LINENO}: repository $PWD already up to date." read $1 <<< 'yes' cd_home ; return 1