From: Gary V. Vaughan Date: Fri, 4 Jun 2010 22:06:45 +0000 (+0700) Subject: Add missing quote for literal ? in a shell case statement. X-Git-Tag: v2.2.10~14 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=540fbe5b3215ffd3ea0bcb03240ad67d8a2f0336;p=thirdparty%2Flibtool.git 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. --- diff --git a/ChangeLog b/ChangeLog index 09e698174..c511b5942 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2010-06-05 Gary V. Vaughan + 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. diff --git a/libltdl/config/getopt.m4sh b/libltdl/config/getopt.m4sh index 74491d0cd..a81a90532 100644 --- a/libltdl/config/getopt.m4sh +++ b/libltdl/config/getopt.m4sh @@ -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,