[xiph-commits] r3392 - liboggz/trunk/src/tools

conrad at svn.annodex.net conrad at svn.annodex.net
Tue Jan 29 19:32:14 PST 2008


Author: conrad
Date: 2008-01-29 19:32:12 -0800 (Tue, 29 Jan 2008)
New Revision: 3392

Modified:
   liboggz/trunk/src/tools/oggzdiff.in
Log:
add : to TMPDIR spec in oggzdiff, suggested by Angus Lees:
if TMPDIR is the empty string, you still want to use /tmp instead of ""


Modified: liboggz/trunk/src/tools/oggzdiff.in
===================================================================
--- liboggz/trunk/src/tools/oggzdiff.in	2008-01-29 03:40:54 UTC (rev 3391)
+++ liboggz/trunk/src/tools/oggzdiff.in	2008-01-30 03:32:12 UTC (rev 3392)
@@ -180,8 +180,8 @@
   echo >&2 "DIFF_OPTIONS: " $DIFFOPTS
 fi
 
-FIFO1="${TMPDIR-/tmp}/`basename $1`.dump-$$"
-FIFO2="${TMPDIR-/tmp}/`basename $2`.dump-$$"
+FIFO1="${TMPDIR:-/tmp}/`basename $1`.dump-$$"
+FIFO2="${TMPDIR:-/tmp}/`basename $2`.dump-$$"
 
 exec 5>$FIFO1
 exec 6>$FIFO2



More information about the commits mailing list