Simplify WG_SIG_FILE set

Use native make substitution instead of sed.
pull/53/head mm_7108c83c
Marek Marczykowski-Górecki 5 years ago
parent c6e126517e
commit 7108c83c5e
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

@ -51,7 +51,7 @@ WG_BASE_URL := https://git.zx2c4.com/WireGuard/snapshot
WG_SRC_FILE := WireGuard-0.0.20190406.tar.xz
WG_SRC_URL := $(WG_BASE_URL)/$(WG_SRC_FILE)
WG_SIG_FILE := $(shell echo $(WG_SRC_FILE) | sed 's/\.xz/.asc/')
WG_SIG_FILE := $(WG_SRC_FILE:%.xz=%.asc)
WG_SIG_URL := $(WG_BASE_URL)/$(WG_SIG_FILE)
URL := $(SRC_BASEURL)/$(SRC_FILE)

Loading…
Cancel
Save