diff --git a/hadoop-project-dist/pom.xml b/hadoop-project-dist/pom.xml
index 2951db15e43..b2e2c4f9139 100644
--- a/hadoop-project-dist/pom.xml
+++ b/hadoop-project-dist/pom.xml
@@ -325,10 +325,11 @@
exec
- ${project.parent.basedir}/../dev-support/bin/dist-copynativelibs
+ ${shell-executable}
${project.build.directory}
false
+ ${project.parent.basedir}/../dev-support/bin/dist-copynativelibs
--version=${project.version}
--builddir=${project.build.directory}
--artifactid=${project.artifactId}