summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-03-31 03:20:59 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-03-31 03:20:59 +0000
commitfd36c33efdf595ef7752b8878966a960da780f5c (patch)
tree9c1de3084387ddba2c3329bfe04550b31eef721f /gnu
parente8d3f1fa0c177b4a0ae76c41149e1d1b1d635339 (diff)
do not prepend /usr/local/bin to path; jbernard@tater.mines.edu
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gzip/zdiff1
-rw-r--r--gnu/usr.bin/gzip/zforce1
-rw-r--r--gnu/usr.bin/gzip/zgrep2
-rw-r--r--gnu/usr.bin/gzip/zmore1
-rw-r--r--gnu/usr.bin/gzip/znew1
5 files changed, 0 insertions, 6 deletions
diff --git a/gnu/usr.bin/gzip/zdiff b/gnu/usr.bin/gzip/zdiff
index 84e65d329ef..c2e21729a49 100644
--- a/gnu/usr.bin/gzip/zdiff
+++ b/gnu/usr.bin/gzip/zdiff
@@ -9,7 +9,6 @@
# necessary) and fed to cmp or diff. The exit status from cmp
# or diff is preserved.
-PATH="/usr/local/bin:$PATH"; export PATH
prog=`echo $0 | sed 's|.*/||'`
case "$prog" in
*cmp) comp=${CMP-cmp} ;;
diff --git a/gnu/usr.bin/gzip/zforce b/gnu/usr.bin/gzip/zforce
index 17258a4855f..5d7e0502ae8 100644
--- a/gnu/usr.bin/gzip/zforce
+++ b/gnu/usr.bin/gzip/zforce
@@ -5,7 +5,6 @@
# This can be useful for files with names truncated after a file transfer.
# 12345678901234 is renamed to 12345678901.gz
-PATH="/usr/local/bin:$PATH"; export PATH
x=`basename $0`
if test $# = 0; then
echo "force a '.gz' extension on all gzip files"
diff --git a/gnu/usr.bin/gzip/zgrep b/gnu/usr.bin/gzip/zgrep
index bcc10cc1dba..4f6086cdc98 100644
--- a/gnu/usr.bin/gzip/zgrep
+++ b/gnu/usr.bin/gzip/zgrep
@@ -3,8 +3,6 @@
# zgrep -- a wrapper around a grep program that decompresses files as needed
# Adapted from a version sent by Charles Levert <charles@comm.polymtl.ca>
-PATH="/usr/local/bin:$PATH"; export PATH
-
prog=`echo $0 | sed 's|.*/||'`
case "$prog" in
*egrep) grep=${EGREP-egrep} ;;
diff --git a/gnu/usr.bin/gzip/zmore b/gnu/usr.bin/gzip/zmore
index ca933c71182..80869a3e608 100644
--- a/gnu/usr.bin/gzip/zmore
+++ b/gnu/usr.bin/gzip/zmore
@@ -1,6 +1,5 @@
#!/bin/sh
-PATH="/usr/local/bin:$PATH"; export PATH
if test "`echo -n a`" = "-n a"; then
# looks like a SysV system:
n1=''; n2='\c'
diff --git a/gnu/usr.bin/gzip/znew b/gnu/usr.bin/gzip/znew
index 5c832e826ac..95d61a2a719 100644
--- a/gnu/usr.bin/gzip/znew
+++ b/gnu/usr.bin/gzip/znew
@@ -1,6 +1,5 @@
#!/bin/sh
-PATH="/usr/local/bin:$PATH"; export PATH
check=0
pipe=0
opt=