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: Bruce Korb
Subject: Re: How can I get rid of dinkleberry autotools temp dirs?
Date: Wed, 11 Jan 2006 09:15:58 -0800
User-agent: Mozilla Thunderbird 1.0.7 (X11/20050923)

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...)

Thanks, Ralf.

Regards, Bruce





reply via email to

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