Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bolkedebruin committed Oct 28, 2015
1 parent c3d4f82 commit a936848
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/ci/setup_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ if $ONLY_DOWNLOAD && $ONLY_EXTRACT; then
fi

mkdir -p ${HADOOP_HOME}
mkdir -p ${CACHE}/{HADOOP_DISTRO}
mkdir -p ${CACHE}/${HADOOP_DISTRO}

if [ $HADOOP_DISTRO = "cdh" ]; then
URL="http://archive.cloudera.com/cdh5/cdh/5/hadoop-latest.tar.gz"
Expand All @@ -63,7 +63,7 @@ else
fi

if ! $ONLY_EXTRACT; then
echo "Downloading Hadoop from $URL to ${HADOOP_HOME}/hadoop.tar.gz"
echo "Downloading Hadoop from $URL to ${CACHE}/${HADOOP_DISTRO}/hadoop.tar.gz"
curl -z ${CACHE}/${HADOOP_DISTRO}/hadoop.tar.gz -o ${CACHE}/${HADOOP_DISTRO}/hadoop.tar.gz -L $URL

if [ $? != 0 ]; then
Expand Down

0 comments on commit a936848

Please sign in to comment.