git: cd85daaf918c - main - Tools/scripts: search_lib_depends_and_bump.sh ignores now the Templates dir

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Wed, 23 Oct 2024 07:11:57 UTC
The branch main has been updated by mfechner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cd85daaf918c2e08b98091afe155d5c38e95aacd

commit cd85daaf918c2e08b98091afe155d5c38e95aacd
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2024-10-23 06:07:19 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2024-10-23 07:11:49 +0000

    Tools/scripts: search_lib_depends_and_bump.sh ignores now the Templates dir
---
 Tools/scripts/search_lib_depends_and_bump.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Tools/scripts/search_lib_depends_and_bump.sh b/Tools/scripts/search_lib_depends_and_bump.sh
index fe443d9c5e11..479fada9bd0c 100755
--- a/Tools/scripts/search_lib_depends_and_bump.sh
+++ b/Tools/scripts/search_lib_depends_and_bump.sh
@@ -4,7 +4,7 @@
 # The script will search for this port over the complete directory you are located now
 # and will bump all ports using `Tools/scripts/bump-revision.sh`
 #
-# Version 0.1
+# Version 0.2
 # License: MIT
 # Matthias Fechner <mfechner@FreeBSD.org>
 
@@ -33,7 +33,7 @@ PORT_TO_SEARCH=${1}
 BASEDIR=$(pwd)
 # Get a list of all ports
 echo "Prepare a list of all ports"
-ports=`find . -name Makefile -maxdepth 3 -not \( -path "./distfiles/*" -prune \) -not \( -path "./Tools/*" -prune \) -print | sort`
+ports=`find . -name Makefile -maxdepth 3 -not \( -path "./distfiles/*" -prune \) -not \( -path "./Tools/*" -prune \) -not \( -path "./Templates/*" -prune \) -print | sort`
 echo "done."
 echo