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
+2 -1
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