Author: olga
Date: Mon Jul 14 11:47:56 2008
New Revision: 676687

URL: http://svn.apache.org/viewvc?rev=676687&view=rev
Log:
fixed build to create right permissions for binaries

Modified:
    incubator/pig/branches/branch-0.1/build.xml

Modified: incubator/pig/branches/branch-0.1/build.xml
URL: 
http://svn.apache.org/viewvc/incubator/pig/branches/branch-0.1/build.xml?rev=676687&r1=676686&r2=676687&view=diff
==============================================================================
--- incubator/pig/branches/branch-0.1/build.xml (original)
+++ incubator/pig/branches/branch-0.1/build.xml Mon Jul 14 11:47:56 2008
@@ -381,13 +381,13 @@
     <!-- Make release tarball                                               -->
     <!-- ================================================================== -->
     <target name="tar" depends="package" description="Create release tarball">
-        <tar compression="gzip" longfile="gnu" basedir="${staging.dir}" 
destfile="${build.dir}/${final.name}.tar.gz">
+        <tar compression="gzip" longfile="gnu" 
destfile="${build.dir}/${final.name}.tar.gz">
             <tarfileset dir="${staging.dir}" mode="664">
-                <exclude name="bin/*" />
-                <include name="**" />
+                <exclude name="${final.name}/bin/*" />
+                <include name="${final.name}/**" />
             </tarfileset>
             <tarfileset dir="${staging.dir}" mode="755">
-                <include name="bin/*" />
+                <include name="${final.name}/bin/*" />
             </tarfileset>
         </tar>
     </target>


Reply via email to