浏览代码

AMBARI-3346. Fix repo url parametrization under Ubuntu (dlysnichenko)

Lisnichenko Dmitro 11 年之前
父节点
当前提交
fed74613d7
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      ambari-server/pom.xml

+ 2 - 2
ambari-server/pom.xml

@@ -501,7 +501,7 @@
             </goals>
             </goals>
             <configuration>
             <configuration>
               <target name="ambari-server-compile">
               <target name="ambari-server-compile">
-                <exec dir="${basedir}" executable="sh" failonerror="true">
+                <exec dir="${basedir}" executable="bash" failonerror="true">
                   <arg value="${basedir}/set-hdp-repo-url.sh"/>
                   <arg value="${basedir}/set-hdp-repo-url.sh"/>
                   <arg value="${hdpUrlForCentos6}"/>
                   <arg value="${hdpUrlForCentos6}"/>
                 </exec>
                 </exec>
@@ -516,7 +516,7 @@
             </goals>
             </goals>
             <configuration>
             <configuration>
               <target name="ambari-server-compile">
               <target name="ambari-server-compile">
-                <exec dir="${basedir}" executable="sh" failonerror="true">
+                <exec dir="${basedir}" executable="bash" failonerror="true">
                   <arg value="${basedir}/set-hdp-repo-url.sh"/>
                   <arg value="${basedir}/set-hdp-repo-url.sh"/>
                   <arg value="${hdpUrlForCentos6}"/>
                   <arg value="${hdpUrlForCentos6}"/>
                   <arg value="${project.build.directory}/ambari-server-${project.version}-dist/ambari-server-${project.version}"/>
                   <arg value="${project.build.directory}/ambari-server-${project.version}-dist/ambari-server-${project.version}"/>