pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/plist Force compression and decompression to avoid ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c5797f5827fc
branches: trunk
changeset: 506290:c5797f5827fc
user: jlam <jlam%pkgsrc.org@localhost>
date: Fri Jan 13 20:03:26 2006 +0000
description:
Force compression and decompression to avoid the default behavior of
gzip/gunzip where hard-linked files aren't compressed/decompressed.
diffstat:
mk/plist/doc-compress | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r a11651313ff6 -r c5797f5827fc mk/plist/doc-compress
--- a/mk/plist/doc-compress Fri Jan 13 19:16:06 2006 +0000
+++ b/mk/plist/doc-compress Fri Jan 13 20:03:26 2006 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: doc-compress,v 1.1 2006/01/12 23:43:57 jlam Exp $
+# $NetBSD: doc-compress,v 1.2 2006/01/13 20:03:26 jlam Exp $
#
# This script is derived from software contributed to The NetBSD Foundation
# by Alistair Crooks.
@@ -74,7 +74,7 @@
${TEST} "$verbose" = no ||
${ECHO} "Symlinking: $file"
elif ${TEST} -f "$path"; then
- ${GZIP_CMD} $path
+ ${GZIP_CMD} -nf $path
${TEST} "$verbose" = no ||
${ECHO} "Compressing: $file"
fi
@@ -95,7 +95,7 @@
${TEST} "$verbose" = no ||
${ECHO} "Symlinking: $file.gz"
elif ${TEST} -f "$pathgz"; then
- ${GUNZIP_CMD} $pathgz
+ ${GUNZIP_CMD} -f $pathgz
${TEST} "$verbose" = no ||
${ECHO} "Decompressing: $file.gz"
fi
Home |
Main Index |
Thread Index |
Old Index