Merge pull request #359 from weaveworks/use_sh_instead_of_bash

Use /bin/sh instead of /bin/bash so it can be used in boot2docker
This commit is contained in:
Tom Wilkie
2015-08-17 16:39:32 +01:00

4
scope
View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
set -eu
@@ -77,7 +77,7 @@ check_not_running() {
# Run `weave expose` if it's not already exposed.
weave_expose() {
status=$(weave ps weave:expose | awk '{print $3}' 2>/dev/null)
if [ "$status" == "" ]; then
if [ "$status" = "" ]; then
weave expose
fi
}