summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorMatthias Fechner <mfechner@FreeBSD.org>2022-03-28 09:39:40 +0200
committerMatthias Fechner <mfechner@FreeBSD.org>2022-03-28 09:40:46 +0200
commit760896708c6b81edc7fcb15d0910002af4e6ced8 (patch)
treee127a4f41f27b7e333477380ca017646bea95944 /Tools
parenttextproc/py-libxml2: Include bytecode files in package (diff)
Tools/scripts: limit scope the script searches
The script now searches on limited depth and ignores distfiles folder. Reported by: diizzy
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/search_lib_depends_and_bump.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/search_lib_depends_and_bump.sh b/Tools/scripts/search_lib_depends_and_bump.sh
index 408e4e72d287..fe443d9c5e11 100755
--- a/Tools/scripts/search_lib_depends_and_bump.sh
+++ b/Tools/scripts/search_lib_depends_and_bump.sh
@@ -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 ! -path "./Tools/* | sort")
+ports=`find . -name Makefile -maxdepth 3 -not \( -path "./distfiles/*" -prune \) -not \( -path "./Tools/*" -prune \) -print | sort`
echo "done."
echo