Author: cutting
Date: Fri Feb 24 11:11:44 2006
New Revision: 380789
URL: http://svn.apache.org/viewcvs?rev=380789&view=rev
Log:
Fix to not use 'exec', but rather 'untar' and 'chmod' which are more portable.
Modified:
lucene/nutch/trunk/build.xml
Modified: lucene/nutch/trunk/build.xml
URL:
http://svn.apache.org/viewcvs/lucene/nutch/trunk/build.xml?rev=380789&r1=380788&r2=380789&view=diff
==============================================================================
--- lucene/nutch/trunk/build.xml (original)
+++ lucene/nutch/trunk/build.xml Fri Feb 24 11:11:44 2006
@@ -57,10 +57,9 @@
<fileset dir="${lib.dir}" includes="hadoop*.jar"/>
<patternset includes="bin.tgz"/>
</unjar>
- <exec dir="bin" executable="tar">
- <arg value="xzf"/>
- <arg value="../${build.dir}/hadoop/bin.tgz"/>
- </exec>
+
+ <untar src="${build.dir}/hadoop/bin.tgz" dest="bin" compression="gzip"/>
+ <chmod dir="bin" perm="ugo+rx" includes="*.sh,hadoop"/>
<!-- unpack hadoop webapp from hadoop jar into build directory -->
<mkdir dir="${build.dir}/webapps"/>