summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.info.mk
diff options
context:
space:
mode:
authorwosch <wosch@FreeBSD.org>1997-01-14 11:59:33 +0000
committerwosch <wosch@FreeBSD.org>1997-01-14 11:59:33 +0000
commitb05b74ee7b19e0ad67c76014eeeeaf91f0d78b8a (patch)
tree27615d5b43e9d4998d813b5f379bf0d5a09d3db5 /share/mk/bsd.info.mk
parent4fe4de038e5fe18cb556fae87099767166290b70 (diff)
downloadFreeBSD-src-b05b74ee7b19e0ad67c76014eeeeaf91f0d78b8a.zip
FreeBSD-src-b05b74ee7b19e0ad67c76014eeeeaf91f0d78b8a.tar.gz
Move gzip(1) option -c from commandline into variable GZIPCMD. Not
all compress programs (e.g. cat(1)) support the option -c.
Diffstat (limited to 'share/mk/bsd.info.mk')
-rw-r--r--share/mk/bsd.info.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.info.mk b/share/mk/bsd.info.mk
index e64f175..5093da9 100644
--- a/share/mk/bsd.info.mk
+++ b/share/mk/bsd.info.mk
@@ -102,11 +102,11 @@ all: ${IFILES} _SUBDIR
all:
.endif
-GZIPCMD?= gzip
+GZIPCMD?= gzip -c
.for x in ${INFO:S/$/.info/g}
${x:S/$/.gz/}: ${x}
- ${GZIPCMD} -c ${.ALLSRC} > ${.TARGET}
+ ${GZIPCMD} ${.ALLSRC} > ${.TARGET}
.endfor
# What to do if there's no dir file there. This is really gross!!!
OpenPOWER on IntegriCloud