Jelajahi Sumber

HADOOP-13149. Windows distro build fails on dist-copynativelibs. Contributed by Chris Nauroth.

(cherry picked from commit b9dbef94177dfe0d8ea9526722691f861f47bb4e)
Chris Nauroth 9 tahun lalu
induk
melakukan
c8b0ec5363
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      hadoop-project-dist/pom.xml

+ 2 - 1
hadoop-project-dist/pom.xml

@@ -325,10 +325,11 @@
                   <goal>exec</goal>
                 </goals>
                 <configuration>
-                  <executable>${project.parent.basedir}/../dev-support/bin/dist-copynativelibs</executable>
+                  <executable>${shell-executable}</executable>
                   <workingDirectory>${project.build.directory}</workingDirectory>
                   <requiresOnline>false</requiresOnline>
                   <arguments>
+                    <argument>${project.parent.basedir}/../dev-support/bin/dist-copynativelibs</argument>
                     <argument>--version=${project.version}</argument>
                     <argument>--builddir=${project.build.directory}</argument>
                     <argument>--artifactid=${project.artifactId}</argument>