From f10a33538e9bab6deb61779b3d8aae168824ef48 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Wed, 20 Dec 2006 22:13:13 +0100 Subject: bzip2-1.0.4 --- bzdiff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bzdiff') diff --git a/bzdiff b/bzdiff index 3c2eb85..6fc38f9 100644 --- a/bzdiff +++ b/bzdiff @@ -12,7 +12,7 @@ # necessary) and fed to cmp or diff. The exit status from cmp # or diff is preserved. -PATH="/usr/bin:$PATH"; export PATH +PATH="/usr/bin:/bin:$PATH"; export PATH prog=`echo $0 | sed 's|.*/||'` case "$prog" in *cmp) comp=${CMP-cmp} ;; @@ -37,7 +37,7 @@ if test -z "$FILES"; then echo "Usage: $prog [${comp}_options] file [file]" exit 1 fi -tmp=`tempfile -d /tmp -p bz` || { +tmp=`mktemp ${TMPDIR:-/tmp}/bzdiff.XXXXXXXXXX` || { echo 'cannot create a temporary file' >&2 exit 1 } -- cgit v1.2.3-55-g6feb