From 4953fc6f02358eb68f8635f24a5bbaf9c71895a1 Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Mon, 19 Oct 2026 19:17:59 +0000 Subject: [PATCH] Misc: fixed "zip" target with GNU sed --- misc/GNUmakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc/GNUmakefile b/misc/GNUmakefile index 74ebfae43..e9d51c3be 100644 --- a/misc/GNUmakefile +++ b/misc/GNUmakefile @@ -90,7 +90,8 @@ zip: export mkdir -p $(TEMP)/$(NGINX)/logs mkdir -p $(TEMP)/$(NGINX)/temp - sed -i '' -e "s/$$/`printf '\r'`/" $(TEMP)/$(NGINX)/conf/* + sed -i.bak -e "s/$$/`printf '\r'`/" $(TEMP)/$(NGINX)/conf/* + rm $(TEMP)/$(NGINX)/conf/*.bak mv $(TEMP)/$(NGINX)/LICENSE $(TEMP)/$(NGINX)/docs.new mv $(TEMP)/$(NGINX)/*.md $(TEMP)/$(NGINX)/docs.new