From 0f43a861480325c215434f89044cb544ddbded3f Mon Sep 17 00:00:00 2001 From: Alexis Pentori Date: Thu, 26 Sep 2024 11:53:33 +0200 Subject: [PATCH] sync_template: ignoring infra-template and infra-wazuh-* repos Signed-off-by: Alexis Pentori --- git/sync_template.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/git/sync_template.sh b/git/sync_template.sh index 0cad6ca..55ec94b 100755 --- a/git/sync_template.sh +++ b/git/sync_template.sh @@ -13,7 +13,8 @@ shift for DIR in $(ls -d ~/work/infra-*); do [[ "${DIR}" =~ .*/infra-role-.*$ ]] && continue [[ "${DIR}" =~ .*/infra-tf-.*$ ]] && continue - [[ "${DIR}" =~ .*/infra-(lido|utils|pass)$ ]] && continue + [[ "${DIR}" =~ .*/infra-wazuh-.*$ ]] && continue + [[ "${DIR}" =~ .*/infra-(lido|utils|pass|template)$ ]] && continue echo '---------------------------------' pushd "${DIR}" git reset