mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
get_version.sh: Quote the ? wildcard that could otherwise break the regex in the presence of a single-letter file name
This commit is contained in:
parent
893a5b6e60
commit
4a16b13a57
@ -28,4 +28,4 @@
|
||||
|
||||
set -e
|
||||
|
||||
grep -oP "PROJECT_VERSION \"?\K[0-9.]+(?=\")"? $(dirname "$0")/../CMakeLists.txt
|
||||
grep -oP "PROJECT_VERSION \"?\K[0-9.]+(?=\")?" $(dirname "$0")/../CMakeLists.txt
|
||||
|
Loading…
Reference in New Issue
Block a user