HADOOP-12899. External distribution stitching scripts do not work correctly on Windows. Contributed by Chris Nauroth.

This commit is contained in:
Chris Nauroth 2016-03-10 14:49:08 -08:00
parent 79961ecea8
commit adf1cdf3d5

View File

@ -93,10 +93,11 @@
<goal>exec</goal> <goal>exec</goal>
</goals> </goals>
<configuration> <configuration>
<executable>${basedir}/../dev-support/bin/dist-layout-stitching</executable> <executable>${shell-executable}</executable>
<workingDirectory>${project.build.directory}</workingDirectory> <workingDirectory>${project.build.directory}</workingDirectory>
<requiresOnline>false</requiresOnline> <requiresOnline>false</requiresOnline>
<arguments> <arguments>
<argument>${basedir}/../dev-support/bin/dist-layout-stitching</argument>
<argument>${project.version}</argument> <argument>${project.version}</argument>
<argument>${project.build.directory}</argument> <argument>${project.build.directory}</argument>
</arguments> </arguments>
@ -109,10 +110,11 @@
<goal>exec</goal> <goal>exec</goal>
</goals> </goals>
<configuration> <configuration>
<executable>${basedir}/../dev-support/bin/dist-tar-stitching</executable> <executable>${shell-executable}</executable>
<workingDirectory>${project.build.directory}</workingDirectory> <workingDirectory>${project.build.directory}</workingDirectory>
<requiresOnline>false</requiresOnline> <requiresOnline>false</requiresOnline>
<arguments> <arguments>
<argument>${basedir}/../dev-support/bin/dist-tar-stitching</argument>
<argument>${project.version}</argument> <argument>${project.version}</argument>
<argument>${project.build.directory}</argument> <argument>${project.build.directory}</argument>
</arguments> </arguments>