mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Replace the command for stripping version pragmas in external tests with one that does not break on ^<=>
This commit is contained in:
parent
a5a560e163
commit
dc57451775
@ -104,7 +104,7 @@ function replace_version_pragmas
|
||||
# Replace fixed-version pragmas (part of Consensys best practice).
|
||||
# Include all directories to also cover node dependencies.
|
||||
printLog "Replacing fixed-version pragmas..."
|
||||
find . test -name '*.sol' -type f -print0 | xargs -0 sed -i -e 's/pragma solidity [\^0-9\.]*/pragma solidity >=0.0/'
|
||||
find . test -name '*.sol' -type f -print0 | xargs -0 sed -i -E -e 's/pragma solidity [^;]+;/pragma solidity >=0.0;/'
|
||||
}
|
||||
|
||||
function replace_libsolc_call
|
||||
|
Loading…
Reference in New Issue
Block a user