extract-trace: only source funclib.sh when $progname is extract-trace.
commit64c02af9f1d62963844f68c7d02c46d2b9100216
authorGary V. Vaughan <gary@gnu.org>
Thu, 18 Oct 2012 16:41:53 +0000 (18 23:41 +0700)
committerGary V. Vaughan <gary@gnu.org>
Thu, 18 Oct 2012 16:41:53 +0000 (18 23:41 +0700)
tree5efcb358d97dbe7bcae0c0317665bc5175d0e3be
parentcfcb7afd26a2c41f3dae62766002cac570417c77
extract-trace: only source funclib.sh when $progname is extract-trace.

* build-aux/extract-trace: $usage is too generic, and can cause
sourced extract-trace to re-source options-parser.  We already
require that funclib.sh be sourced before sourcing options-parser,
so it's safer to check that $progname is correct before sourcing
options-parser again from here.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
build-aux/extract-trace