Updated Branches: refs/heads/sqoop2 66a328aef -> 776c7434d
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/776c7434 Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/776c7434 Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/776c7434 Branch: refs/heads/sqoop2 Commit: 776c7434d4bf87575ecc9dc1a14ffec5ba3763ac Parents: 66a328a Author: Jarek Jarcec Cecho <[email protected]> Authored: Fri Dec 14 12:32:10 2012 -0800 Committer: Jarek Jarcec Cecho <[email protected]> Committed: Fri Dec 14 12:32:10 2012 -0800 ---------------------------------------------------------------------- dist/pom.xml | 16 ++++++++++++++-- 1 files changed, 14 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/sqoop/blob/776c7434/dist/pom.xml ---------------------------------------------------------------------- diff --git a/dist/pom.xml b/dist/pom.xml index b08ad51..e053590 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>
