Tools/scripts: limit scope the script searches
The script now searches on limited depth and ignores distfiles folder. Reported by: diizzy
This commit is contained in:
parent
25c952626c
commit
760896708c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user