Stefano Lattarini wrote:
> * tests/init.sh (mktempd_): In the usage message, use literal
> 'mktempd_', not '$ME' (which is even undefined), as the name of
> the subroutine.
> ---
> ChangeLog | 7 +++++++
> tests/init.sh | 2 +-
> 2 files changed, 8 insertions(+), 1 deletions(-)
>
> diff --git a/ChangeLog b/ChangeLog
> index 506a079..43ebe3a 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,10 @@
> +2011-06-07 Stefano Lattarini <[email protected]>
> +
> + tests: fix usage message in 'mktempd_'
> + * tests/init.sh (mktempd_): In the usage message, use literal
> + 'mktempd_', not '$ME' (which is even undefined), as the name of
> + the subroutine.
> +
> 2011-06-06 Eric Blake <[email protected]>
>
> canonicalize-lgpl: use common idiom
> diff --git a/tests/init.sh b/tests/init.sh
> index 294dcdd..9852d83 100644
> --- a/tests/init.sh
> +++ b/tests/init.sh
> @@ -403,7 +403,7 @@ mktempd_ ()
> {
> case $# in
> 2);;
> - *) fail_ "Usage: $ME DIR TEMPLATE";;
> + *) fail_ "Usage: mktempd_ DIR TEMPLATE";;
Good change.
Thanks. ("subroutines" make me think of FORTRAN ;-)