guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Honor `$TMPDIR' in `guile-snarf'


From: Aleksej Saushev
Subject: Re: Honor `$TMPDIR' in `guile-snarf'
Date: Wed, 13 Feb 2008 23:25:17 +0300
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix)

Neil Jerram <address@hidden> writes:

> 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.

4.3BSD is dead for a long time, what's the use to support it in the new 
software?

As for Solaris, its "/bin/sh" isn't supported too by community,
any sane developer uses "/usr/xpg4/bin/sh" at least.


-- 
CKOPO BECHA...
   CKOPO CE3OH...





reply via email to

[Prev in Thread] Current Thread [Next in Thread]