浏览代码

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

(cherry picked from commit b9dbef94177dfe0d8ea9526722691f861f47bb4e)
Chris Nauroth 9 年之前
父节点
当前提交
c8b0ec5363
共有 1 个文件被更改,包括 2 次插入1 次删除
  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>