From 24e69808b3e044688697acd413b8aecfadf33669 Mon Sep 17 00:00:00 2001 From: Allar Viik Date: Thu, 3 Oct 2024 14:39:17 +0300 Subject: [PATCH] Also looking for .git files when using `ctp project select` command --- scripts/general/select-inventory.sh | 2 +- version.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/general/select-inventory.sh b/scripts/general/select-inventory.sh index 5f82ca04..709839ff 100755 --- a/scripts/general/select-inventory.sh +++ b/scripts/general/select-inventory.sh @@ -5,7 +5,7 @@ echo -n -e "${C_RST}" SEARCH_DIR="/srv/inventories" SEARCH_FOLDER=".git" # shellcheck disable=SC2207 -FOLDERS=($(find -L "$SEARCH_DIR" \( -type d -o -type l \) -name "$SEARCH_FOLDER" -exec dirname {} \; | sort)) +FOLDERS=($(find -L "$SEARCH_DIR" \( -type d -o -type l -o -type f \) -name "$SEARCH_FOLDER" -exec dirname {} \; | sort)) #--------------------End of variables, start of script--------------------# diff --git a/version.yml b/version.yml index 484519a7..dd414903 100644 --- a/version.yml +++ b/version.yml @@ -1 +1 @@ -version: 5.6.30 +version: 5.6.32