mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix cl test script on macOS
This commit is contained in:
parent
cb610b5021
commit
a0aacb91a6
@ -54,7 +54,13 @@ do
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
if [[ "$OSTYPE" == "darwin"* ]]
|
||||
then
|
||||
matching_tests=$(find . -mindepth 1 -maxdepth 1 -type d -name "$1" | cut -c 3- | sort)
|
||||
else
|
||||
matching_tests=$(find . -mindepth 1 -maxdepth 1 -type d -name "$1" | cut --characters 3- | sort)
|
||||
fi
|
||||
|
||||
|
||||
if [[ $matching_tests == "" ]]
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user