tests: fix usage message in 'mktempd_'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 7 Jun 2011 11:55:57 +0000 (13:55 +0200)
committerIan Beckwith <ianb@erislabs.net>
Fri, 10 Jun 2011 00:40:42 +0000 (01:40 +0100)
* tests/init.sh (mktempd_): In the usage message, use literal
'mktempd_', not '$ME' (which is even undefined), as the name of
the subroutine.
(cherry picked from commit fba324553f05901eebdd0884ffff74b04a06704a)

ChangeLog
tests/init.sh

index b33393a..bebe05b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-06-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       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  <eblake@redhat.com>
 
        canonicalize-lgpl: use common idiom
index 294dcdd..9852d83 100644 (file)
@@ -403,7 +403,7 @@ mktempd_ ()
 {
   case $# in
   2);;
-  *) fail_ "Usage: $ME DIR TEMPLATE";;
+  *) fail_ "Usage: mktempd_ DIR TEMPLATE";;
   esac
 
   destdir_=$1