incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1302724 - /incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/hadoop/install_hadoop.sh
Date Mon, 19 Mar 2012 23:49:47 GMT
Author: rvs
Date: Mon Mar 19 23:49:46 2012
New Revision: 1302724

URL: http://svn.apache.org/viewvc?rev=1302724&view=rev
Log:
BIGTOP-382. hadoop-conf-pseudo packages contains subversion metada

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

Modified: incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/hadoop/install_hadoop.sh
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/hadoop/install_hadoop.sh?rev=1302724&r1=1302723&r2=1302724&view=diff
==============================================================================
--- incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/hadoop/install_hadoop.sh
(original)
+++ incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/common/hadoop/install_hadoop.sh
Mon Mar 19 23:49:46 2012
@@ -286,6 +286,8 @@ for conf in conf.pseudo ; do
   install -d -m 0755 $HADOOP_ETC_DIR/$conf
   # Overlay the -site files
   (cd $DISTRO_DIR/$conf && tar -cf - .) | (cd $HADOOP_ETC_DIR/$conf && tar
-xf -)
+  # When building straight out of svn we have to account for pesky .svn subdirs 
+  rm -rf `find $HADOOP_ETC_DIR/$conf -name .svn -type d` 
 done
 cp ${BUILD_DIR}/etc/hadoop/log4j.properties $HADOOP_ETC_DIR/conf.pseudo
 



Mime
View raw message