Conrad Scott wrote: > The wrapper scripts for autoconf and autoheader use temporary files > that they (are supposed to) remove on exit (using trap 0). But I tend > to find *lots* of these directories in /tmp (e.g. /tmp/acXXXXX and > /tmp/ahXXXXX). Just running autoconf or autoheader with no arguments > creates a nice example. > > But I can't see what the problem is with the scripts: they set a trap > to clean up and it looks fine to me. > > Any suggestions?
Yeah, I've noticed that too. Perhaps I outsmarted myself: the wrapper script never actually "exits" -- it *execs* the real autoconf/make/whatever. So perhaps the trap doesn't get triggered when you exec. Maybe I should rm the tmp files/dirs explicitly. before exec'ing the real autotool... --Chuck