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:
1 parent
843e37b6e6
commit
b03d110528
1 file changed
+7
-2
@@ -119,8 +119,13 @@ function findMinimalVersion()
|
||||
|
||||
if [ -z "$version" ]
|
||||
then
|
||||
printError "No release $sign$pragmaVersion was listed in available releases!"
|
||||
exit 1
|
||||
if [[ "$greater" = true && "$pragmaVersion" =~ 99 ]]
|
||||
then
|
||||
printError "Skipping version check for pragma: $pragmaVersion"
|
||||
else
|
||||
printError "No release $sign$pragmaVersion was listed in available releases!"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user