From 0d3eeb09e531ba5e1c5d25b2ac63ba4cfcc529b0 Mon Sep 17 00:00:00 2001 From: Jonathon Anderson Date: Sun, 8 Oct 2023 01:03:17 -0600 Subject: [PATCH] Workaround for CentOS 7 gzip The CentOS 7 gzip doesn't have `--keep`. Signed-off-by: Jonathon Anderson --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e4eb3865..8879a5e9 100644 --- a/Makefile +++ b/Makefile @@ -68,7 +68,7 @@ man_pages: wwctl $(wildcard docs/man/man5/*.5) mkdir -p docs/man/man1 ./wwctl --emptyconf genconfig man docs/man/man1 gzip --force docs/man/man1/*.1 - gzip --force --keep docs/man/man5/*.5 + for manpage in docs/man/man5/*.5; do gzip <$${manpage} >$${manpage}.gz; done etc/defaults.conf: wwctl ./wwctl --emptyconf genconfig defaults >etc/defaults.conf