5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-02 23:40:04 +08:00

SQOOP-80. bin/configure-sqoop improperly escapes shell variable names.

From: Aaron Kimball <aaron@cloudera.com>

git-svn-id: https://svn.apache.org/repos/asf/incubator/sqoop/trunk@1149973 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Bayer 2011-07-22 20:04:15 +00:00
parent 1632e9e1dc
commit 2ba041796e

View File

@ -44,17 +44,17 @@ fi
# Check: If we can't find our dependencies, give up here. # Check: If we can't find our dependencies, give up here.
if [ ! -d "${HADOOP_HOME}" ]; then if [ ! -d "${HADOOP_HOME}" ]; then
echo "Error: $HADOOP_HOME does not exist!" echo "Error: $HADOOP_HOME does not exist!"
echo "Please set $$HADOOP_HOME to the root of your Hadoop installation." echo 'Please set $HADOOP_HOME to the root of your Hadoop installation.'
exit 1 exit 1
fi fi
if [ ! -d "${HBASE_HOME}" ]; then if [ ! -d "${HBASE_HOME}" ]; then
echo "Error: $HBASE_HOME does not exist!" echo "Error: $HBASE_HOME does not exist!"
echo "Please set $$HBASE_HOME to the root of your HBase installation." echo 'Please set $HBASE_HOME to the root of your HBase installation.'
exit 1 exit 1
fi fi
if [ ! -d "${ZOOKEEPER_HOME}" ]; then if [ ! -d "${ZOOKEEPER_HOME}" ]; then
echo "Error: $ZOOKEEPER_HOME does not exist!" echo "Error: $ZOOKEEPER_HOME does not exist!"
echo "Please set $$ZOOKEEPER_HOME to the root of your ZooKeeper installation." echo 'Please set $ZOOKEEPER_HOME to the root of your ZooKeeper installation.'
exit 1 exit 1
fi fi