From d8af72fe8ec4876bc7e5fffae79c80920ccde29d Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 10 Jan 2024 00:58:53 +0300 Subject: [PATCH] fixed fix... Signed-off-by: Alex A. Naanou --- wireguard/assets/root/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wireguard/assets/root/Makefile b/wireguard/assets/root/Makefile index 88a60ea..247f3aa 100644 --- a/wireguard/assets/root/Makefile +++ b/wireguard/assets/root/Makefile @@ -44,7 +44,7 @@ $(SERVER_CONF): $(SERVER_TPL) $(SERVER_KEY) @ mkdir -p $(CLIENT_DIR) cat "$<" \ | sed \ - -e 's/\$${DNS}/$(subst /*,,$(DNS))/g' \ + -e 's/\$${DNS}/$(patsubst /%,,$(DNS))/g' \ -e 's/\$${ENDPOINT}/$(ENDPOINT)/g' \ -e 's/\$${ENDPOINT_PORT}/$(ENDPOINT_PORT)/g' \ -e 's/\$${ALLOWED_IPS}/$(subst /,\/,$(ALLOWED_IPS))/g' \