X-Git-Url: https://git.cworth.org/git?p=gzip;a=blobdiff_plain;f=gzexe.in;h=bcd788c671450699d990ed548464ad5614ea22a6;hp=d1916356c9ae9ae3b258eea47ad9359269d362ae;hb=0161769885b1bdcc3d5f6699ade8f2b88c56e570;hpb=15eea35eec74f226bb721ebf0b3ee7473b1a5ff9 diff --git a/gzexe.in b/gzexe.in index d191635..bcd788c 100755 --- a/gzexe.in +++ b/gzexe.in @@ -121,7 +121,7 @@ skip=23 set -C umask=`umask` umask 77 -tmpfile=`tempfile -p gztmp -d /tmp` || exit 1 +tmpfile=`tempfile -p gztmp -d /tmp` || tmpfile=/tmp/gztmp.$$ || exit 1 if tail +$skip "$0" | /bin/gzip -cd >> $tmpfile; then umask $umask /bin/chmod 700 $tmpfile