On 01/27/13 05:35, Gary V. Vaughan wrote:
> On 27 Jan 2013, at 03:27, Bruce Korb <bruce.k...@gmail.com> wrote:
>> Hi Gary,
> 
> Hey Bruce!
> 
>> Speaking of bootstrap wishes,

Hi Gary,

Follow up:  worked like a charm!  Thank you.  I use *two* bootstrap.conf
files:  one by that name and another:  bootstrap.std wherein I have my
standard stuff.  This now goes into my "standard stuff", thank you.
I also renamed the function, since it is not actually being used in
sharutils.  It was enough trouble just getting rid of all the old
me_FOOBAR autoconf macros.  I'm sure it is the reason behind the
three dozen header files.  They cannot all really be needed...

For your amusement, the transcribed functions and my standard
stuff are attached and work for me.  The bulk consists of your functions,
but I also added support for back traces on failure and a failure "die"
function.  "die" differs from the func_error_fatal in that it kills off
everything even from within a subshell and it invokes the backtrace
function.  That latter is a handy thing often enough that I use it.

Also, I don't know how you use $debug_cmd, but for me this works very well:

  PS4='>$FUNCNAME> '

You always know which function was active for every xtrace entry.

Again, thank you!  Cheers - Bruce

Attachment: bootstrap.std
Description: OpenOffice Draw Template

Reply via email to