From 9d8d1cb216d76b5ec72a1c0df195839441603df9 Mon Sep 17 00:00:00 2001
From: Matt Massie <matt@cloudera.com>
Date: Fri, 25 Sep 2009 15:02:56 -0700
Subject: [PATCH] Sqoop documentation is now part of the generated tarball. Updated the install script to reflect that change.

---
 cloudera/install_hadoop.sh |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diff --git a/cloudera/install_hadoop.sh b/cloudera/install_hadoop.sh
index 687b606..13a952b 100755
--- a/cloudera/install_hadoop.sh
+++ b/cloudera/install_hadoop.sh
@@ -150,12 +150,6 @@ cp -a $HADOOP_SRC_DIR/examples/* $EXAMPLE_DIR/src
 mkdir -p $DOC_DIR
 cp -r ${BUILD_DIR}/../../docs/* $DOC_DIR
 
-mkdir -p $DOC_DIR/sqoop
-# TODO(csm): This .. is a hack because for some odd reason the sqoop docs
-# get built in build/contrib vs build/hadoop-.../contrib. We'll need to
-# fix this
-cp ${BUILD_DIR}/../contrib/sqoop/doc/SqoopUserGuide.html $DOC_DIR/sqoop
-               
 # Install source
 mkdir -p $SRC_DIR
 cp -a ${HADOOP_SRC_DIR}/* $SRC_DIR/
@@ -183,10 +177,7 @@ done
 # man pages
 mkdir -p $MAN_DIR/man1
 cp ${CLOUDERA_SOURCE_DIR}/hadoop-$APACHE_BRANCH.1.gz $MAN_DIR/man1/
-# TODO(csm): This .. is a hack because for some odd reason the sqoop docs
-# get built in build/contrib vs build/hadoop-.../contrib. We'll need to
-# fix this
-cp ${BUILD_DIR}/../contrib/sqoop/doc/sqoop.1.gz $MAN_DIR/man1/sqoop-$APACHE_BRANCH.1.gz
+cp ${BUILD_DIR}/../../docs/sqoop/sqoop.1.gz $MAN_DIR/man1/sqoop-$APACHE_BRANCH.1.gz
 
 ############################################################
 # ARCH DEPENDENT STUFF
-- 
1.6.0.4

