incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1201969 - /incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/sqoop/install_sqoop.sh
Date Tue, 15 Nov 2011 00:02:33 GMT
Author: rvs
Date: Tue Nov 15 00:02:33 2011
New Revision: 1201969

URL: http://svn.apache.org/viewvc?rev=1201969&view=rev
Log:
Updating install script for Sqoop

Modified:
    incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/sqoop/install_sqoop.sh

Modified: incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/sqoop/install_sqoop.sh
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/sqoop/install_sqoop.sh?rev=1201969&r1=1201968&r2=1201969&view=diff
==============================================================================
--- incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/sqoop/install_sqoop.sh
(original)
+++ incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/sqoop/install_sqoop.sh
Tue Nov 15 00:02:33 2011
@@ -106,10 +106,10 @@ MAN_DIR=${MAN_DIR:-/usr/share/man/man1}
 install -d -m 0755 ${PREFIX}/${LIB_DIR}
 
 install -d -m 0755 ${PREFIX}/${LIB_DIR}
-cp sqoop*.jar ${PREFIX}/${LIB_DIR}
+cp ${BUILD_DIR}/sqoop*.jar ${PREFIX}/${LIB_DIR}
 
 install -d -m 0755 ${PREFIX}/${LIB_DIR}/lib
-cp -a lib/*.jar ${PREFIX}/${LIB_DIR}/lib
+cp -a ${BUILD_DIR}/lib/*.jar ${PREFIX}/${LIB_DIR}/lib
 
 #install -d -m 0755 ${PREFIX}/${LIB_DIR}/shims
 #cp -a shims/*.jar ${PREFIX}/${LIB_DIR}/shims
@@ -117,19 +117,19 @@ cp -a lib/*.jar ${PREFIX}/${LIB_DIR}/lib
 install -d -m 0755 $PREFIX/usr/bin
 
 install -d -m 0755 $PREFIX/${BIN_DIR}
-cp bin/* $PREFIX/${BIN_DIR}
+cp ${BUILD_DIR}/bin/* $PREFIX/${BIN_DIR}
 
 install -d -m 0755 $PREFIX/${DOC_DIR}
-cp docs/*.html  $PREFIX/${DOC_DIR}
-cp docs/*.css $PREFIX/${DOC_DIR}
-cp -r docs/api $PREFIX/${DOC_DIR}
-cp -r docs/images $PREFIX/${DOC_DIR}
+cp ${BUILD_DIR}/docs/*.html  $PREFIX/${DOC_DIR}
+cp ${BUILD_DIR}/docs/*.css $PREFIX/${DOC_DIR}
+cp -r ${BUILD_DIR}/docs/api $PREFIX/${DOC_DIR}
+cp -r ${BUILD_DIR}/docs/images $PREFIX/${DOC_DIR}
 
 
 install -d -m 0755 $PREFIX/$MAN_DIR
 for i in sqoop sqoop-codegen sqoop-export sqoop-import-all-tables sqoop-version sqoop-create-hive-table
sqoop-help sqoop-list-databases sqoop-eval sqoop-import sqoop-list-tables sqoop-job sqoop-metastore
sqoop-merge
 	do echo "Copying manpage $i"
-	cp docs/man/$i* $PREFIX/$MAN_DIR
+	cp ${BUILD_DIR}/docs/man/$i* $PREFIX/$MAN_DIR
 	echo "Creating wrapper for $i"
 	wrapper=$PREFIX/usr/bin/$i
 	mkdir -p `dirname $wrapper`



Mime
View raw message