bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH] tests: fix usage message in 'mktempd_'


From: Stefano Lattarini
Subject: [PATCH] tests: fix usage message in 'mktempd_'
Date: Tue, 7 Jun 2011 13:57:06 +0200
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

* 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  <address@hidden>
+
+       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  <address@hidden>
 
        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";;
   esac
 
   destdir_=$1
-- 
1.7.2.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]