summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/gzip
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-08-09 15:34:40 +0000
committerpeter <peter@FreeBSD.org>1997-08-09 15:34:40 +0000
commit668eeea951cd664306aea2c3e0a0cab46d7a41fb (patch)
tree9c721a8444c2a83b0bcd6168b1dc21b0607e97f9 /gnu/usr.bin/gzip
parente70c35b30c5b3055e3d7b07ad127f4761fd29b76 (diff)
downloadFreeBSD-src-668eeea951cd664306aea2c3e0a0cab46d7a41fb.zip
FreeBSD-src-668eeea951cd664306aea2c3e0a0cab46d7a41fb.tar.gz
Don't accidently compress "sh" or there are unfortunate consequences.
PR: 4220 Submitted-by: Dag-Erling Coidan Smørgrav <finrod@pugwash.priv.no>
Diffstat (limited to 'gnu/usr.bin/gzip')
-rw-r--r--gnu/usr.bin/gzip/gzexe2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/gzip/gzexe b/gnu/usr.bin/gzip/gzexe
index 0c248d9..27b697b 100644
--- a/gnu/usr.bin/gzip/gzexe
+++ b/gnu/usr.bin/gzip/gzexe
@@ -74,7 +74,7 @@ for i do
continue
fi
case "`basename $i`" in
- gzip | tail | chmod | ln | sleep | rm)
+ sh | gzip | tail | chmod | ln | sleep | rm)
echo "${x}: $i would depend on itself"; continue ;;
esac
if test -z "$cpmod"; then
OpenPOWER on IntegriCloud