curl: bugfix: github source url 19466/head
authorStan Grishin <stangri@melmac.ca>
Mon, 26 Sep 2022 08:31:56 +0000 (08:31 +0000)
committerStan Grishin <stangri@melmac.ca>
Mon, 26 Sep 2022 19:08:30 +0000 (19:08 +0000)
* fixes https://github.com/openwrt/packages/issues/19456

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit c812153f8d4f73b3f82cb19e3b98c84ca680eecb)

net/curl/Makefile

index 7b35e4c8589011f487e2cb4ffaed44b6617e0be4..53916b0446a78ea6d667bd185ba563c324f28a66 100644 (file)
@@ -12,7 +12,7 @@ PKG_VERSION:=7.85.0
 PKG_RELEASE:=$(AUTORELEASE)
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_SOURCE_URL:=https://github.com/curl/curl/releases/download/curl-$(PKG_VERSION:.=_)/ \
+PKG_SOURCE_URL:=https://github.com/curl/curl/releases/download/curl-$(subst .,_,$(PKG_VERSION))/ \
        https://dl.uxnr.de/mirror/curl/ \
        https://curl.askapache.com/download/ \
        https://curl.se/download/