Browse Source

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

Lisnichenko Dmitro 11 years ago
parent
commit
fed74613d7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      ambari-server/pom.xml

+ 2 - 2
ambari-server/pom.xml

@@ -501,7 +501,7 @@
             </goals>
             <configuration>
               <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="${hdpUrlForCentos6}"/>
                 </exec>
@@ -516,7 +516,7 @@
             </goals>
             <configuration>
               <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="${hdpUrlForCentos6}"/>
                   <arg value="${project.build.directory}/ambari-server-${project.version}-dist/ambari-server-${project.version}"/>