[Top][All Lists]
[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...
- Honor `$TMPDIR' in `guile-snarf', Ludovic Courtès, 2008/02/12
- Re: Honor `$TMPDIR' in `guile-snarf', Neil Jerram, 2008/02/12
- Re: Honor `$TMPDIR' in `guile-snarf', Bruce Korb, 2008/02/12
- Re: Honor `$TMPDIR' in `guile-snarf', Ludovic Courtès, 2008/02/12
- Re: Honor `$TMPDIR' in `guile-snarf',
Aleksej Saushev <=
- Re: Honor `$TMPDIR' in `guile-snarf', Thien-Thi Nguyen, 2008/02/14
- Re: Honor `$TMPDIR' in `guile-snarf', Aleksej Saushev, 2008/02/14
- Pkgsrc patches, Ludovic Courtès, 2008/02/14
- Re: Pkgsrc patches, Greg Troxel, 2008/02/15
- patches from pkgsrc - patch-aa, Greg Troxel, 2008/02/15
- Re: patches from pkgsrc - patch-aa, Ludovic Courtès, 2008/02/16
- Re: Pkgsrc patches: patch-ae, Greg Troxel, 2008/02/15
- Re: Pkgsrc patches: patch-ae, Ludovic Courtès, 2008/02/16
- Re: Pkgsrc patches: patch-ae, Greg Troxel, 2008/02/18
- Re: Pkgsrc patches: patch-ag, Greg Troxel, 2008/02/15