Repository: ambari
Updated Branches:
  refs/heads/branch-1.7.0 8ed04d0cf -> af2a71338


AMBARI-7769. Fix AMBARI-7740 HDP 2.2 should read the base repo URLs from JSON 
file. (Sunitha Velpula via yusaku)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/af2a7133
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/af2a7133
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/af2a7133

Branch: refs/heads/branch-1.7.0
Commit: af2a71338a6e5a2db9b361e4715aa5c5003779f2
Parents: 8ed04d0
Author: Yusaku Sako <[email protected]>
Authored: Tue Oct 14 15:06:54 2014 -0700
Committer: Yusaku Sako <[email protected]>
Committed: Tue Oct 14 15:07:52 2014 -0700

----------------------------------------------------------------------
 ambari-server/set-hdp-repo-url.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/af2a7133/ambari-server/set-hdp-repo-url.sh
----------------------------------------------------------------------
diff --git a/ambari-server/set-hdp-repo-url.sh 
b/ambari-server/set-hdp-repo-url.sh
index 5e8ff0a..fed7a94 100644
--- a/ambari-server/set-hdp-repo-url.sh
+++ b/ambari-server/set-hdp-repo-url.sh
@@ -57,7 +57,7 @@ then
 
    
   # all stacks get the same url
-  for ver in '1.3' '2.0' '2.1'; do
+  for ver in '1.3' '2.0' '2.1' '2.2'; do
     echo "Replacing $ver latest lookup url to '$LATEST_URL'"
     HDPREPO=target/classes/stacks/HDP/$ver/repos
     sed "s;\(<latest>\)\([^>]*\)\(<\/latest>\);\1$LATEST_URL\3;" 
${HDPREPO}/repoinfo.xml > ${HDPREPO}/repoinfo.xml.tmp; mv 
${HDPREPO}/repoinfo.xml.tmp ${HDPREPO}/repoinfo.xml

Reply via email to