KYLIN-1363 Fix unary operator expected bug Signed-off-by: honma <ho...@ebay.com>
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/4e18dfe2 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/4e18dfe2 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/4e18dfe2 Branch: refs/heads/1.x-staging Commit: 4e18dfe2055ca0c23a3fbff4d7e3175a48e743be Parents: 4a5d059 Author: Hao Chen <hch...@ebay.com> Authored: Sun Jan 24 14:16:58 2016 +0800 Committer: honma <ho...@ebay.com> Committed: Wed Jan 27 21:39:14 2016 +0800 ---------------------------------------------------------------------- bin/kylin.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/4e18dfe2/bin/kylin.sh ---------------------------------------------------------------------- diff --git a/bin/kylin.sh b/bin/kylin.sh index 8ca3c91..5bf3eab 100755 --- a/bin/kylin.sh +++ b/bin/kylin.sh @@ -22,7 +22,7 @@ source ${dir}/check-env.sh mkdir -p ${KYLIN_HOME}/logs # start command -if [ $1 == "start" ] +if [ "$1" == "start" ] then if [ -f "${KYLIN_HOME}/pid" ] @@ -93,7 +93,7 @@ then exit 0 # stop command -elif [ $1 == "stop" ] +elif [ "$1" == "stop" ] then if [ -f "${KYLIN_HOME}/pid" ] then