Skip to content

Commit

Permalink
make version regex posix compliant so that it works on mac
Browse files Browse the repository at this point in the history
Signed-off-by: Arne Rutjes <arne123@gmail.com>
  • Loading branch information
arner authored and denyeart committed Dec 16, 2024
1 parent 8538e32 commit 5e0e5a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-network-k8s/scripts/prereqs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function check_prereqs() {
fi

# 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
# NOTE: About extracting the version number:
Expand Down

0 comments on commit 5e0e5a1

Please sign in to comment.