Skip to content

Commit

Permalink
Simplify version sed and default version string
Browse files Browse the repository at this point in the history
  • Loading branch information
bboreham committed Nov 14, 2016
1 parent 15d91c5 commit c8f91c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prog/weave-kube/launch.sh
Expand Up @@ -30,7 +30,7 @@ EOF
fi

SOURCE_BINARY=/usr/bin/weaveutil
VERSION=$(/home/weave/weaver $EXTRA_ARGS --version | sed -E 's/weave router (.*?)/\1/')
VERSION=$(/home/weave/weaver $EXTRA_ARGS --version | sed -e 's/weave router //' | sed -e 's/(unreleased version)/unreleased/')
PLUGIN="weave-plugin-$VERSION"

install_cni_plugin() {
Expand Down

0 comments on commit c8f91c5

Please sign in to comment.