mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-29 02:01:43 +00:00
Use GNU wc on Darwin
This commit is contained in:
@@ -9,6 +9,9 @@ RELEASE_NAME=${RELEASE_NAME:-"Weave Scope"}
|
||||
RELEASE_DESCRIPTION=${RELEASE_DESCRIPTION:-"Container Visibility"}
|
||||
|
||||
PWD=`pwd`
|
||||
WC="wc"
|
||||
# Use GNU wc on Darwin
|
||||
case $OSTYPE in darwin*) WC="gwc" ;; esac
|
||||
|
||||
infer_release_type() {
|
||||
if echo $1 | grep -qE '^v[0-9]+\.[0-9]+\.0+$' ; then
|
||||
|
||||
Reference in New Issue
Block a user