]>
Commit | Line | Data |
---|---|---|
8edf4722 | 1 | --- bzip2-1.0.2/bzdiff.tempfile 2004-12-09 15:37:56.809670688 +0100 |
2 | +++ bzip2-1.0.2/bzdiff 2004-12-09 15:46:05.169428720 +0100 | |
3 | @@ -37,7 +37,7 @@ | |
4 | echo "Usage: $prog [${comp}_options] file [file]" | |
5 | exit 1 | |
6 | fi | |
7 | -tmp=`tempfile -d /tmp -p bz` || { | |
8 | +tmp=`/bin/mktemp ${TMPDIR:-/tmp}/bzdiff.XXXXXXXXXX` || { | |
9 | echo 'cannot create a temporary file' >&2 | |
10 | exit 1 | |
11 | } |