From 7def4678d404980c0e7846afb3106fa439e3ee53 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 1 Jul 2021 16:49:09 +0000 Subject: [PATCH] gzip: remove usage of install --- core/gzip/build | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/core/gzip/build b/core/gzip/build index 9367c7c9..e0219aa3 100755 --- a/core/gzip/build +++ b/core/gzip/build @@ -2,9 +2,12 @@ make CC="${CC:-cc} -static" -install -Dm755 pigz "$1/usr/bin/pigz" -install -Dm755 unpigz "$1/usr/bin/unpigz" -install -Dm644 pigz.1 "$1/usr/share/man/man1/pigz.1" +mkdir -p \ + "$1/usr/bin" \ + "$1/usr/share/man/man1" + +cp -f pigz unpigz "$1/usr/bin" +cp -f pigz.1 "$1/usr/share/man/man1" ln -sf pigz "$1/usr/bin/gzip" ln -sf pigz "$1/usr/bin/zcat"