mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-22 17:45:10 +00:00
make version regex posix compliant so that it works on mac
Signed-off-by: Arne Rutjes <arne123@gmail.com>
This commit is contained in:
parent
8538e32437
commit
5e0e5a1550
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ function check_prereqs() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Define the sed expression to extract the version number
|
# Define the sed expression to extract the version number
|
||||||
VERSION_SED_EXPR='s/^ Version: v\?\(.*\)$/\1/p'
|
VERSION_SED_EXPR='s/^ Version: v\{0,1\}\(.*\)$/\1/p'
|
||||||
|
|
||||||
# Use the fabric peer and ca containers to check fabric image versions
|
# Use the fabric peer and ca containers to check fabric image versions
|
||||||
# NOTE: About extracting the version number:
|
# NOTE: About extracting the version number:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue