Author: sms
Date: Fri Jan 16 17:59:48 2009
New Revision: 735206

URL: http://svn.apache.org/viewvc?rev=735206&view=rev
Log:
PIG-622: Include pig executable in distribution (tomwhite)

Modified:
    hadoop/pig/trunk/CHANGES.txt
    hadoop/pig/trunk/build.xml

Modified: hadoop/pig/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/hadoop/pig/trunk/CHANGES.txt?rev=735206&r1=735205&r2=735206&view=diff
==============================================================================
--- hadoop/pig/trunk/CHANGES.txt (original)
+++ hadoop/pig/trunk/CHANGES.txt Fri Jan 16 17:59:48 2009
@@ -363,3 +363,5 @@
     PIG-597: Fix for how * is treated by UDFs (shravanmn via olgan)
 
     PIG-623: Fix spelling errors in output messages (tomwhite via sms)
+
+    PIG-622: Include pig executable in distribution (tomwhite via sms)

Modified: hadoop/pig/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/hadoop/pig/trunk/build.xml?rev=735206&r1=735205&r2=735206&view=diff
==============================================================================
--- hadoop/pig/trunk/build.xml (original)
+++ hadoop/pig/trunk/build.xml Fri Jan 16 17:59:48 2009
@@ -401,8 +401,8 @@
 
         <copy file="${output.jarfile.core}" todir="${dist.dir}" />
 
-        <copy todir="${dist.dir}/scripts">
-            <fileset dir="scripts" />
+        <copy todir="${dist.dir}/bin">
+            <fileset dir="bin" />
         </copy>
 
         <copy todir="${dist.dir}/docs">
@@ -423,7 +423,7 @@
         </copy>
 
         <chmod perm="ugo+x" type="file">
-            <fileset dir="${dist.dir}/scripts" />
+            <fileset dir="${dist.dir}/bin" />
         </chmod>
 
     </target>
@@ -433,12 +433,12 @@
     <!-- ================================================================== -->
     <target name="tar" depends="package" description="Create release tarball">
         <tar compression="gzip" longfile="gnu" 
destfile="${build.dir}/${final.name}.tar.gz">
-            <tarfileset dir="${dist.dir}" mode="664">
-                <exclude name="scripts/*" />
-                <include name="**" />
+            <tarfileset dir="${build.dir}" mode="664">
+                <exclude name="${final.name}/bin/*" />
+                <include name="${final.name}/**" />
             </tarfileset>
-            <tarfileset dir="${dist.dir}" mode="755">
-                <include name="scripts/*" />
+            <tarfileset dir="${build.dir}" mode="755">
+                <include name="${final.name}/bin/*" />
             </tarfileset>
         </tar>
     </target>


Reply via email to