diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-09-29 01:10:48 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-09-29 01:10:48 +0000 |
commit | bfbd468234c9c47374b80fc2fadb09c1e45ee60a (patch) | |
tree | 2e91ed9490115ad46a7caa36ff2fcd618de5d82c /gnu/usr.bin | |
parent | cb8fee19ec73571e81dd9d1fa855a2567527db5b (diff) |
Put $TF in double-quotes since it could possibly contain spaces;
solar@openwall.com
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/gzip/zdiff | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/gzip/zdiff b/gnu/usr.bin/gzip/zdiff index 91cc50b4945..38d57d26070 100644 --- a/gnu/usr.bin/gzip/zdiff +++ b/gnu/usr.bin/gzip/zdiff @@ -46,10 +46,10 @@ elif test $# -eq 2; then *[-.]gz* | *[-.][zZ] | *.t[ga]z) F=`echo "$2" | sed 's|.*/||;s|[-.][zZtga]*||'` TF=`mktemp /tmp/"$F".XXXXXXXXXX` || exit 1 - gzip -cdfq "$2" > $TF - gzip -cdfq "$1" | $comp $OPTIONS - $TF + gzip -cdfq "$2" > "$TF" + gzip -cdfq "$1" | $comp $OPTIONS - "$TF" STAT="$?" - /bin/rm -f $TF;; + /bin/rm -f "$TF";; *) gzip -cdfq "$1" | $comp $OPTIONS - "$2" STAT="$?";; |