mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-30 14:30:15 +08:00
Quote command line arguments after --rcfile properly.
* libltdl/config/announce-gen.m4sh (--rcfile): Quote remaining arguments shell variable expression correctly for eval.
This commit is contained in:
parent
fd9aeebfe9
commit
7a1821bead
@ -1,5 +1,9 @@
|
||||
2010-06-05 Gary V. Vaughan <gary@gnu.org>
|
||||
|
||||
Quote command line arguments after --rcfile properly.
|
||||
* libltdl/config/announce-gen.m4sh (--rcfile): Quote remaining
|
||||
arguments shell variable expression correctly for eval.
|
||||
|
||||
Shift correctly in numbered option argument collection.
|
||||
* libltdl/config/getopt.m4sh (_m4go_option): Argument list also
|
||||
needs to be `shift'ed in the shell option loop after processing a
|
||||
|
@ -122,7 +122,7 @@ M4SH_GETOPTS(
|
||||
[p], [--post], [], [],
|
||||
[r@?],[--rcfile], [$top_srcdir/.announcerc], [
|
||||
# The funny quoting allows keeping one option per line in $opt_rcfile:
|
||||
eval set dummy `echo \`cat $opt_rcfile\` \${1+"\[$]@"}`
|
||||
eval set dummy `echo \`cat $opt_rcfile\` '${1+"[$]@"}'`
|
||||
shift],
|
||||
[v], [--verbose], [], [
|
||||
mailnotify_flags="${mailnotify_flags+$mailnotify_flags }$opt"],
|
||||
|
Loading…
Reference in New Issue
Block a user