export which is correct syntax

Cameron Simpson cs at zip.com.au
Sat Jan 4 21:40:59 UTC 2014


On 04Jan2014 17:09, suvayu ali <fatkasuvayu+linux at gmail.com> wrote:
> On Sat, Jan 04, 2014 at 03:51:02PM +0000, Dave Mitchell wrote:
> > On Sat, Jan 04, 2014 at 04:08:17PM +0100, Suvayu Ali wrote:
> > > On Sat, Jan 04, 2014 at 10:37:48PM +1030, Tim wrote:
> > > > Frank Murphy:
> > > > > > 1: export TMPDIR=/var/tmp
> > > > > > 2: export TMPDIR=$TMPDIR:/var/tmp
[...]

To add to the discussion: TMPDIR is the name of a single directory, not list
of directories to consider.

Just overwrite it, or programs will be trying to use directories named
"/tmp:/var/tmp" or the like.
-- 
Cameron Simpson <cs at zip.com.au>

To have no errors
Would be life without meaning
No struggle, no joy
- Haiku Error Messages http://www.salonmagazine.com/21st/chal/1998/02/10chal2.html


More information about the users mailing list