Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 2001 13:24:03 -0500
From:      "Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu>
To:        Andreas Klemm <andreas@FreeBSD.ORG>, stable@FreeBSD.ORG
Subject:   Re: Brokenness: : ${TMPDIR:-/tmp} results in empty TMPDIR variable
Message-ID:  <98700000.983125443@pyanfar.ece.cmu.edu>
In-Reply-To: <20010225134311.A25603@titan.klemm.gtn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, February 25, 2001 13:43:11 +0100, Andreas Klemm 
<andreas@FreeBSD.ORG> wrote:
+-----
| Another -STABLE problem:
|
| : ${TMPDIR:-/tmp}
|
| The variable stays empty.
+--->8

It should; the correct idiom is

: ${TMPDIR:=/tmp}

-- 
brandon s. allbery     [os/2][linux][solaris][japh]   allbery@kf8nh.apk.net
system administrator        [WAY too many hats]         allbery@ece.cmu.edu
electrical and computer engineering                                   KF8NH
carnegie mellon university     ["better check the oblivious first" -ke6sls]


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98700000.983125443>