mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Ignore "no version found" check for pragmas containing "99".
This commit is contained in:
parent
843e37b6e6
commit
b03d110528
@ -119,8 +119,13 @@ function findMinimalVersion()
|
|||||||
|
|
||||||
if [ -z "$version" ]
|
if [ -z "$version" ]
|
||||||
then
|
then
|
||||||
printError "No release $sign$pragmaVersion was listed in available releases!"
|
if [[ "$greater" = true && "$pragmaVersion" =~ 99 ]]
|
||||||
exit 1
|
then
|
||||||
|
printError "Skipping version check for pragma: $pragmaVersion"
|
||||||
|
else
|
||||||
|
printError "No release $sign$pragmaVersion was listed in available releases!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user