autoconf
[Top][All Lists]
Advanced

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

Re: How can I get rid of dinkleberry autotools temp dirs?


From: Ralf Wildenhues
Subject: Re: How can I get rid of dinkleberry autotools temp dirs?
Date: Wed, 11 Jan 2006 18:18:55 +0100
User-agent: Mutt/1.5.11

* Bruce Korb wrote on Wed, Jan 11, 2006 at 06:15:58PM CET:
> Ralf Wildenhues wrote:
> 
> >Which system are you on?  Where is mktemp(1) from?
> 
> This is the crux of the issue:  ``Where is mktemp(1) from?''
> The code assumes that:
>   f=`mktemp -d -q xxxxx`
> leaves the environment variable "f" containing the name of the
> directory.  "mktemp(1)" is not a well-established tool and the
> ``-q'' option caused the one I was using to create the directory
> and not echo out its name.  Consequently, the code assumed that
> the ``mktemp -d'' failed when it had not.  So, the fix is to
> either test mktemp behavior before using it or to not use it.
> (BTW, the one I am using I wrote more than a decade ago.
> I changed the behavior of ``-q'', but nevertheless it is not
> a standard tool...)

So, is your mktemp distributed at all anywhere?  I mean, it's trivial
to remove the `-q', as we use `2>/dev/null' anyway.

Cheers,
Ralf




reply via email to

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