aboutsummaryrefslogtreecommitdiff
path: root/package/pkg-download.mk
diff options
context:
space:
mode:
authorGravatar Samuel Martin <s.martin49@gmail.com>2014-03-09 19:54:35 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-04-06 14:32:37 +0200
commit507d6a637ba51e9799acd4c8a0b614fc9842b4e2 (patch)
tree8a65e2c8200c47f489087c74a59d0a9053443bae /package/pkg-download.mk
parent0aa9019c2d4a8d0b155cc282456a3a02ebe02bd7 (diff)
downloadbuildroot-507d6a637ba51e9799acd4c8a0b614fc9842b4e2.tar.gz
buildroot-507d6a637ba51e9799acd4c8a0b614fc9842b4e2.tar.bz2
pkg-download: update the github helper
Once again, github updates the source download url. Even if only the zip archive link is advertised on the repositories' page, the *.tar.gz is still available. It is worthy to note that the tarball's content differs depending if it has been fetched from the former and the new url (the root directory name changes). Signed-off-by: Samuel Martin <s.martin49@gmail.com> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/pkg-download.mk')
-rw-r--r--package/pkg-download.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pkg-download.mk b/package/pkg-download.mk
index 85842de354..192b9e0331 100644
--- a/package/pkg-download.mk
+++ b/package/pkg-download.mk
@@ -56,7 +56,7 @@ notdomain=$(patsubst $(call domain,$(1),$(2))$(call domainseparator,$(2))%,%,$(c
domainseparator=$(if $(1),$(1),/)
# github(user,package,version): returns site of github repository
-github = https://github.com/$(1)/$(2)/tarball/$(3)
+github = https://github.com/$(1)/$(2)/archive/$(3)
################################################################################
# The DOWNLOAD_* helpers are in charge of getting a working copy