sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jar...@apache.org
Subject [6/8] git commit: SQOOP-770: Sqoop2: executable scripts in binary distribution tarball are not executable
Date Sun, 16 Dec 2012 07:16:48 GMT
SQOOP-770: Sqoop2: executable scripts in binary distribution tarball are not executable

(Cheolsoo Park via Jarek Jarcec Cecho)


Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/0b02bb44
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/0b02bb44
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/0b02bb44

Branch: refs/heads/branch-1.99.1
Commit: 0b02bb4416229679fabf3ef627253f9417140810
Parents: 543aeb2
Author: Jarek Jarcec Cecho <jarcec@apache.org>
Authored: Fri Dec 14 12:32:10 2012 -0800
Committer: Jarek Jarcec Cecho <jarcec@apache.org>
Committed: Sat Dec 15 23:08:25 2012 -0800

----------------------------------------------------------------------
 dist/pom.xml |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/0b02bb44/dist/pom.xml
----------------------------------------------------------------------
diff --git a/dist/pom.xml b/dist/pom.xml
index 6f0ecd0..e94d3d9 100644
--- a/dist/pom.xml
+++ b/dist/pom.xml
@@ -97,7 +97,13 @@ limitations under the License.
 
                     <!-- Create final distribution tar -->
                     <tar destfile="target/sqoop-${project.version}.tar.gz" compression="gzip">
-                      <tarfileset dir="target/sqoop-${project.version}" prefix="sqoop-${project.version}"/>
+                      <tarfileset dir="target/sqoop-${project.version}" prefix="sqoop-${project.version}"
filemode="755">
+                        <include name="**/*.sh" />
+                      </tarfileset>
+                      <tarfileset dir="target/sqoop-${project.version}" prefix="sqoop-${project.version}">
+                        <include name="**/*" />
+                        <exclude name="**/bin/*" />
+                      </tarfileset>
                     </tar>
                   </target>
                 </configuration>
@@ -190,7 +196,13 @@ limitations under the License.
 
                     <!-- Finally create distribution tar -->
                     <tar destfile="target/sqoop-${project.version}-bin-hadoop${hadoop.profile}.tar.gz"
compression="gzip">
-                      <tarfileset dir="target/sqoop-${project.version}-bin-hadoop${hadoop.profile}"
prefix="sqoop-${project.version}-bin-hadoop${hadoop.profile}"/>
+                      <tarfileset dir="target/sqoop-${project.version}-bin-hadoop${hadoop.profile}"
prefix="sqoop-${project.version}-bin-hadoop${hadoop.profile}" filemode="755">
+                        <include name="**/*.sh" />
+                      </tarfileset>
+                      <tarfileset dir="target/sqoop-${project.version}-bin-hadoop${hadoop.profile}"
prefix="sqoop-${project.version}-bin-hadoop${hadoop.profile}">
+                        <include name="**/*" />
+                        <exclude name="**/*.sh" />
+                      </tarfileset>
                     </tar>
                   </target>
                 </configuration>


Mime
View raw message