|
From: | Neil Jerram |
Subject: | Re: Honor `$TMPDIR' in `guile-snarf' |
Date: | Tue, 12 Feb 2008 20:53:35 +0000 |
User-agent: | Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
address@hidden (Ludovic Courtès) writes: > -tempdir="/tmp/snarf.$$" > + > +if [ x"$TMPDIR" = x ]; then TMPDIR="/tmp" ; else : ; fi > +tempdir="$TMPDIR/guile-snarf.$$" I believe that's equivalent to tempdir="${TMPDIR:-/tmp}/guile-snarf.$$" Although install-sh says: # Don't use :- since 4.3BSD and earlier shells don't like it. So your version is safer. Regards, Neil
[Prev in Thread] | Current Thread | [Next in Thread] |