hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hashut...@apache.org
Subject svn commit: r1498156 - /hive/trunk/build.xml
Date Sun, 30 Jun 2013 17:01:05 GMT
Author: hashutosh
Date: Sun Jun 30 17:01:04 2013
New Revision: 1498156

URL: http://svn.apache.org/r1498156
Log:
HIVE-4559 : hcatalog/webhcat scripts in tar.gz don't have execute permissions set (Eugene
Koifman via Ashutosh Chauhan)

Modified:
    hive/trunk/build.xml

Modified: hive/trunk/build.xml
URL: http://svn.apache.org/viewvc/hive/trunk/build.xml?rev=1498156&r1=1498155&r2=1498156&view=diff
==============================================================================
--- hive/trunk/build.xml (original)
+++ hive/trunk/build.xml Sun Jun 30 17:01:04 2013
@@ -522,6 +522,11 @@
     <copy todir="${target.dir}/hcatalog">
         <fileset dir="${hive.root}/hcatalog/build/hcatalog-${hcatalog.version}"/>
     </copy>
+    <!--fix permissions since 'copy' looses them (known ant/Java issue)-->
+    <chmod perm="ugo+x" type="file">
+      <fileset dir="${target.dir}/hcatalog/bin"/>
+      <fileset dir="${target.dir}/hcatalog/sbin"/>
+    </chmod>
   </target>
 
 
@@ -752,6 +757,8 @@
         <tarfileset dir="${build.dir.hive}/dist" mode="755" prefix="${bin.final.name}"
                     excludes="${vcs.excludes}">
           <include name="bin/**"/>
+          <include name="hcatalog/bin/*"/>
+          <include name="hcatalog/sbin/*"/>
         </tarfileset>
         <tarfileset dir="${build.dir.hive}/dist" mode="755" prefix="${bin.final.name}"
                     excludes="${vcs.excludes}">
@@ -763,6 +770,8 @@
           <exclude name="bin/**"/>
           <exclude name="docs/**"/>
           <exclude name="lib/py/**/*-remote"/>
+          <exclude name="hcatalog/bin/*"/>
+          <exclude name="hcatalog/sbin/*"/>
         </tarfileset>
       </param.listofitems>
     </macro_tar>



Mime
View raw message