Fixing script issues.
Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/0ac706e8 Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/0ac706e8 Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/0ac706e8 Branch: refs/heads/master Commit: 0ac706e869c6d02b04b8feee98ba3067700f2c5e Parents: 9b5e1f5 Author: Aaron McCurry <[email protected]> Authored: Tue Jul 2 11:50:18 2013 -0400 Committer: Aaron McCurry <[email protected]> Committed: Tue Jul 2 11:50:18 2013 -0400 ---------------------------------------------------------------------- distribution/src/main/scripts/bin/start-all.sh | 2 +- distribution/src/main/scripts/bin/stop-all.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/0ac706e8/distribution/src/main/scripts/bin/start-all.sh ---------------------------------------------------------------------- diff --git a/distribution/src/main/scripts/bin/start-all.sh b/distribution/src/main/scripts/bin/start-all.sh index b951eb5..ad81155 100755 --- a/distribution/src/main/scripts/bin/start-all.sh +++ b/distribution/src/main/scripts/bin/start-all.sh @@ -20,7 +20,7 @@ bin=`cd "$bin"; pwd` . "$bin"/blur-config.sh -if [ $BLUR_MANAGE_ZK = true ]; then +if [ "$BLUR_MANAGE_ZK" == "true" ]; then $BLUR_HOME/bin/start-zookeepers.sh fi $BLUR_HOME/bin/start-shards.sh http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/0ac706e8/distribution/src/main/scripts/bin/stop-all.sh ---------------------------------------------------------------------- diff --git a/distribution/src/main/scripts/bin/stop-all.sh b/distribution/src/main/scripts/bin/stop-all.sh index 1672258..f84625a 100755 --- a/distribution/src/main/scripts/bin/stop-all.sh +++ b/distribution/src/main/scripts/bin/stop-all.sh @@ -22,6 +22,6 @@ bin=`cd "$bin"; pwd` $BLUR_HOME/bin/stop-controllers.sh $BLUR_HOME/bin/stop-shards.sh -if [ $BLUR_MANAGE_ZK = true ]; then +if [ "$BLUR_MANAGE_ZK" == "true" ]; then $BLUR_HOME/bin/stop-zookeepers.sh fi
