[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Debugging %pre section ?



On Tue, 13 Jan 2004, Marc De Preter wrote:

>How does one debug scripts running in the %pre section ? Is there a way
>to create log files, or some other kind of traces ?

What scripting language? With [ba]sh, just add a "set -x" near the top.
Use exec-style redirection to capture stdout and/or stderr to a file.


Cheers,
Phil




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]