make-rules/prep-git.mk
changeset 7565 48aa82a0931f
parent 6952 ce0a03807d13
--- a/make-rules/prep-git.mk	Wed Jan 11 15:24:27 2017 -0800
+++ b/make-rules/prep-git.mk	Mon Nov 28 16:54:02 2016 -0800
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2010, 2017, Oracle and/or its affiliates. All rights reserved.
 #
 
 GIT =		/usr/bin/git
@@ -60,7 +60,7 @@
 # remove those URLs.  If the primary (unsuffixed) archive is from github, then
 # we add a dummy __BLANK__ suffix to the list, and filter that out separately.
 ifeq (github,$(findstring github,$(GIT_REPO$(1))))
-  COMPONENT_ARCHIVE_URL$(1) ?= $(GIT_REPO$(1))/tarball/$(GIT_BRANCH$(1))
+  COMPONENT_ARCHIVE_URL$(1) ?= $(GIT_REPO$(1))/archive/$(GIT_BRANCH$(1)).tar.gz
   GITHUB_ARCHIVE_SUFFIXES += $(or $(strip $(1:_%=%)),__BLANK__)
 else
   COMPONENT_ARCHIVE_SRC$(1) = git