incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1195621 - /incubator/bigtop/branches/hadoop-0.22/bigtop-packages/src/common/hadoop/do-component-build
Date Mon, 31 Oct 2011 19:06:36 GMT
Author: rvs
Date: Mon Oct 31 19:06:36 2011
New Revision: 1195621

URL: http://svn.apache.org/viewvc?rev=1195621&view=rev
Log:
making production of the hadoop artifact more robust

Modified:
    incubator/bigtop/branches/hadoop-0.22/bigtop-packages/src/common/hadoop/do-component-build

Modified: incubator/bigtop/branches/hadoop-0.22/bigtop-packages/src/common/hadoop/do-component-build
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.22/bigtop-packages/src/common/hadoop/do-component-build?rev=1195621&r1=1195620&r2=1195621&view=diff
==============================================================================
--- incubator/bigtop/branches/hadoop-0.22/bigtop-packages/src/common/hadoop/do-component-build
(original)
+++ incubator/bigtop/branches/hadoop-0.22/bigtop-packages/src/common/hadoop/do-component-build
Mon Oct 31 19:06:36 2011
@@ -125,5 +125,8 @@ tar czf hadoop-$HADOOP_VERSION.tar.gz ha
 mv hadoop-$HADOOP_VERSION build
 
 # FIXME: this is a hack for shv
-[ -d ../../RPMS ] && mv hadoop-$HADOOP_VERSION.tar.gz ../../RPMS
-[ -d ../../../output ] && mv hadoop-$HADOOP_VERSION.tar.gz ../../../output
+if [ -d ../../RPMS ] ; then 
+  mv hadoop-$HADOOP_VERSION.tar.gz ../../RPMS
+elif [ -d ../../../output ] ; then
+  mv hadoop-$HADOOP_VERSION.tar.gz ../../../output
+fi



Mime
View raw message