Merge pull request #12348 from dallonasnes/fix-cut-on-macos

Fix cl test script on macOS
This commit is contained in:
chriseth 2021-12-01 12:36:32 +01:00 committed by GitHub
commit 5a908a8705
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,8 @@ do
shift
;;
*)
matching_tests=$(find . -mindepth 1 -maxdepth 1 -type d -name "$1" | cut --characters 3- | sort)
matching_tests=$(find . -mindepth 1 -maxdepth 1 -type d -name "$1" | cut -c 3- | sort)
if [[ $matching_tests == "" ]]
then