diff --git bin/ext/cli.sh bin/ext/cli.sh old mode 100644 new mode 100755 index 733705a..cdce7e3 --- bin/ext/cli.sh +++ bin/ext/cli.sh @@ -17,7 +17,7 @@ THISSERVICE=cli export SERVICE_LIST="${SERVICE_LIST}${THISSERVICE} " updateCli() { - if [ $USE_DEPRECATED_CLI == "true" ]; then + if [ "$USE_DEPRECATED_CLI" == "true" ]; then CLASS=org.apache.hadoop.hive.cli.CliDriver JAR=hive-cli-*.jar else @@ -34,4 +34,4 @@ cli () { cli_help () { updateCli execHiveCmd $CLASS $JAR "--help" -} \ No newline at end of file +}