"Charles Wilson" <[EMAIL PROTECTED]> wrote: > 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.
Yep: that's what it is. I constructed various test cases for trap but I never noticed that you exec'ed in the script. And that, as you say, means it doesn't run the traps. I feel somewhat happier now I understand *why* they're not being run. The puzzlement (and the tmp directories) were gettig to me :-) // Conrad