astksh review

Igor Pechtchanski
Tue May 27 15:54:00 GMT 2003

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.
P.S. bash does propagate -x to function execution unless specifically
turned off inside functions.
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,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

More information about the Cygwin-apps mailing list