incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1352722 - /incubator/bigtop/trunk/bigtop-packages/src/common/whirr/install_whirr.sh
Date Thu, 21 Jun 2012 22:59:56 GMT
Author: rvs
Date: Thu Jun 21 22:59:56 2012
New Revision: 1352722

URL: http://svn.apache.org/viewvc?rev=1352722&view=rev
Log:
BIGTOP-186. whirr package ships source code and needs some permissions fixes (Peter Linnell
via rvs)

Modified:
    incubator/bigtop/trunk/bigtop-packages/src/common/whirr/install_whirr.sh

Modified: incubator/bigtop/trunk/bigtop-packages/src/common/whirr/install_whirr.sh
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/common/whirr/install_whirr.sh?rev=1352722&r1=1352721&r2=1352722&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/common/whirr/install_whirr.sh (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/common/whirr/install_whirr.sh Thu Jun 21 22:59:56
2012
@@ -125,4 +125,12 @@ gzip -c whirr.1 > $MAN_DIR/whirr.1.gz
 # Move the docs, but leave a symlink in place for compat. reasons
 install -d -m 0755 $DOC_DIR
 mv $LIB_DIR/docs/* $DOC_DIR
+mv $LIB_DIR/{NOTICE.txt,LICENSE.txt,BUILD.txt,CHANGES.txt,doap_Whirr.rdf,README.txt} $DOC_DIR
+rmdir $LIB_DIR/docs
 ln -s /${DOC_DIR/#$PREFIX/} $LIB_DIR/docs
+
+# Remove some bits which sould not be shipped.
+for dir in src services pom.xml patch-stamp examples debian core cli build-tools bigtop-empty

+do
+  rm -rf $LIB_DIR/$dir
+done



Mime
View raw message