diff options
author | jlam <jlam@pkgsrc.org> | 2006-01-13 20:03:26 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-01-13 20:03:26 +0000 |
commit | 3257506d81dc8c93fada02bbbb9c2312a3e66d40 (patch) | |
tree | 5f00f2d656b98d6355787427e26cbc6e960278d6 /mk/plist | |
parent | 100c6288bfe2f0b4fe1c610f55cdd475321a4a9c (diff) | |
download | pkgsrc-3257506d81dc8c93fada02bbbb9c2312a3e66d40.tar.gz |
Force compression and decompression to avoid the default behavior of
gzip/gunzip where hard-linked files aren't compressed/decompressed.
Diffstat (limited to 'mk/plist')
-rwxr-xr-x | mk/plist/doc-compress | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/plist/doc-compress b/mk/plist/doc-compress index 5f40a460fc4..680a94a8016 100755 --- a/mk/plist/doc-compress +++ b/mk/plist/doc-compress @@ -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 @@ while read file; do ${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 @@ while read file; do ${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 |