Skip to content

Commit 5a908a8

Browse files
authored
Merge pull request #12348 from dallonasnes/fix-cut-on-macos
Fix cl test script on macOS
2 parents c04fca7 + 70e925d commit 5a908a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/cmdlineTests.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ do
5454
shift
5555
;;
5656
*)
57-
matching_tests=$(find . -mindepth 1 -maxdepth 1 -type d -name "$1" | cut --characters 3- | sort)
57+
matching_tests=$(find . -mindepth 1 -maxdepth 1 -type d -name "$1" | cut -c 3- | sort)
58+
5859

5960
if [[ $matching_tests == "" ]]
6061
then

0 commit comments

Comments
 (0)