From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: Honor `$TMPDIR' in `guile-snarf' Date: Tue, 12 Feb 2008 20:53:35 +0000 Message-ID: <87y79puca8.fsf@ossau.uklinux.net> References: <87tzketg12.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1202849655 6130 80.91.229.12 (12 Feb 2008 20:54:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Feb 2008 20:54:15 +0000 (UTC) Cc: guile-devel@gnu.org To: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Feb 12 21:54:35 2008 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JP28v-0001Aj-CT for guile-devel@m.gmane.org; Tue, 12 Feb 2008 21:54:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JP28R-0006f2-Qk for guile-devel@m.gmane.org; Tue, 12 Feb 2008 15:53:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JP28M-0006en-Ea for guile-devel@gnu.org; Tue, 12 Feb 2008 15:53:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JP28L-0006eb-0F for guile-devel@gnu.org; Tue, 12 Feb 2008 15:53:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JP28K-0006eY-Tn for guile-devel@gnu.org; Tue, 12 Feb 2008 15:53:40 -0500 Original-Received: from mail3.uklinux.net ([80.84.72.33]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JP28G-0000ZN-QC; Tue, 12 Feb 2008 15:53:37 -0500 Original-Received: from arudy (host86-145-183-175.range86-145.btcentralplus.com [86.145.183.175]) by mail3.uklinux.net (Postfix) with ESMTP id 778DE1F6AA3; Tue, 12 Feb 2008 20:53:36 +0000 (GMT) Original-Received: from laruns (laruns [192.168.0.10]) by arudy (Postfix) with ESMTP id 474833800A; Tue, 12 Feb 2008 20:53:35 +0000 (GMT) In-Reply-To: <87tzketg12.fsf@gnu.org> (Ludovic =?iso-8859-1?Q?Court=E8s's?= message of "Tue, 12 Feb 2008 15:18:01 +0100") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:6997 Archived-At: ludo@gnu.org (Ludovic Court=E8s) writes: > -tempdir=3D"/tmp/snarf.$$" > + > +if [ x"$TMPDIR" =3D x ]; then TMPDIR=3D"/tmp" ; else : ; fi > +tempdir=3D"$TMPDIR/guile-snarf.$$" I believe that's equivalent to tempdir=3D"${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