mirror of
git://git.sv.gnu.org/autoconf
synced 2024-11-21 01:01:48 +08:00
Warn about TMPDIR
* doc/autoconf.texi (Initialization Macros): Warn about setting TMPDIR, following up on this Paul Smith remark: https://lists.gnu.org/r/autoconf/2022-10/msg00024.html
This commit is contained in:
parent
d081ac3ec8
commit
3cc9b414aa
@ -14610,6 +14610,10 @@ leave the temporary directory behind. Hence it is important to use a
|
||||
@var{prefix} that makes it easier to determine if a leftover temporary
|
||||
directory from an interrupted script is safe to delete.
|
||||
|
||||
If you set @code{TMPDIR=$tmp} after invoking this macro, you should
|
||||
reset @code{TMPDIR} before deleting the created directory, to avoid
|
||||
breaking commands that rely on @code{$TMPDIR}.
|
||||
|
||||
The use of the output variable @samp{$tmp} rather than something in the
|
||||
@samp{as_} namespace is historical; it has the unfortunate consequence
|
||||
that reusing this otherwise common name for any other purpose inside
|
||||
|
Loading…
Reference in New Issue
Block a user