Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

Setting executable bit for shell scripts.

Piotr Kosiorowski68be514243ac
diff --git a/build.xml b/build.xml
index 9ef4e9cb6..b2e9d9437 100644
--- a/build.xml
+++ b/build.xml
@@ -420,12 +420,16 @@
<target name="tar" depends="package">
<tar compression="gzip" longfile="gnu"
destfile="${build.dir}/${final.name}.tar.gz">
- <tarfileset dir="${build.dir}">
+ <tarfileset dir="${build.dir}" mode="664">
+ <exclude name="${final.name}/bin/*" />
<include name="${final.name}/**" />
</tarfileset>
+ <tarfileset dir="${build.dir}" mode="755">
+ <include name="${final.name}/bin/*" />
+ </tarfileset>
</tar>
</target>
-
+
<!-- ================================================================== -->
<!-- Clean. Delete the build files, and their directories -->
<!-- ================================================================== -->