Skip to content

Commit

Permalink
vstart: detect CEPH_BIN in stop.sh too
Browse files Browse the repository at this point in the history
...for the benefit of rbd.

Signed-off-by: John Spray <john.spray@redhat.com>
  • Loading branch information
John Spray committed Aug 5, 2015
1 parent 27332ff commit 0368daa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/stop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@

test -d dev/osd0/. && test -e dev/sudo && SUDO="sudo"

[ -z "$CEPH_BIN" ] && CEPH_BIN=.
if [ -e CMakeCache.txt ]; then
[ -z "$CEPH_BIN" ] && CEPH_BIN=src
else
[ -z "$CEPH_BIN" ] && CEPH_BIN=.
fi

MYUID=$(id -u)
MYNAME=$(id -nu)
Expand Down

0 comments on commit 0368daa

Please sign in to comment.