On Tue, 27 May 2003, Joe Buehler wrote:

> Igor Pechtchanski wrote:
>
> > Maybe just run all postinstall scripts with "set -x", and parse the
> > output?  At least initially...
>
> Depending on the shell, you won't see anything executed in a shell
> function.

I'm sure it's possible to build a postinstall script that would circumvent
this mechanism.  However, this is the case when it's in the interest of
the maintainers to cooperate with setup.exe.  So, if you, for example, use
a shell in which functions aren't traced with the -x flag, put a "set -x"
inside each function.
        Igor
P.S. bash does propagate -x to function execution unless specifically
turned off inside functions.
-- 
                                http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_                [EMAIL PROTECTED]
ZZZzz /,`.-'`'    -.  ;-;;,_            [EMAIL PROTECTED]
     |,4-  ) )-,_. ,\ (  `'-'           Igor Pechtchanski
    '---''(_/--'  `-'\_) fL     a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

Reply via email to