mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 10:11:03 +00:00
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:
4
scope
4
scope
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user