astksh review
Igor Pechtchanski
pechtcha@cs.nyu.edu
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.
Igor
P.S. bash does propagate -x to function execution unless specifically
turned off inside functions.
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,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