]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Add missing quote for literal ? in a shell case statement.
authorGary V. Vaughan <gary@gnu.org>
Fri, 4 Jun 2010 22:06:45 +0000 (05:06 +0700)
committerGary V. Vaughan <gary@gnu.org>
Fri, 4 Jun 2010 22:06:45 +0000 (05:06 +0700)
* libltdl/config/getopt.m4sh (m4go_shortnoargs): Quote initial ?
correctly for use in a shell case statement.

ChangeLog
libltdl/config/getopt.m4sh

index 09e6981742fbc2bd1ca87a09efa9b523fa510c87..c511b59421813b223dd2d927b26a044f06315536 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-06-05  Gary V. Vaughan  <gary@gnu.org>
 
+       Add missing quote for literal ? in a shell case statement.
+       * libltdl/config/getopt.m4sh (m4go_shortnoargs): Quote initial ?
+       correctly for use in a shell case statement.
+
        Quote command line arguments after --rcfile properly.
        * libltdl/config/announce-gen.m4sh (--rcfile): Quote remaining
        arguments shell variable expression correctly for eval.
index 74491d0cd51aa7edd00ed1515e19634a79b53ea8..a81a905327acf72a3b0aa869b8a2d664edd96aff 100644 (file)
@@ -135,7 +135,7 @@ m4_define([m4go_branches], [])      # case branches to process options
 # OPTION, [|])' to insert the separator pipe symbols - which requires
 # that `m4go_shortargs' be undefined if the first option appended is not
 # prefixed by a leading `|'.
-m4_define([m4go_shortnoargs], [-?*|-h*|-v*])
+m4_define([m4go_shortnoargs], [-\?*|-h*|-v*])
 
 
 # M4SH_GETOPTS(SHORT-SPEC1, LONG-MATCH1, DEF1, INIT1,