mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-27 06:09:57 +08:00
* config/general.m4sh (func_quote_for_eval): Only fork if the
substitution matches.
This commit is contained in:
parent
9011d5103d
commit
20540cfb42
@ -1,3 +1,8 @@
|
||||
2004-12-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* config/general.m4sh (func_quote_for_eval): Only fork if the
|
||||
substitution matches.
|
||||
|
||||
2004-12-03 Gary V. Vaughan <gary@gnu.org>
|
||||
|
||||
* TODO: Paste Peter's summary of the TODO thread starting at
|
||||
|
@ -271,7 +271,12 @@ func_mktempdir ()
|
||||
# which are still active within double quotes backslashified.
|
||||
func_quote_for_eval ()
|
||||
{
|
||||
func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"`
|
||||
case $1 in
|
||||
*[[\`\"\\\$]]*)
|
||||
func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;;
|
||||
*)
|
||||
func_quote_for_eval_unquoted_result="$1" ;;
|
||||
esac
|
||||
|
||||
case $func_quote_for_eval_unquoted_result in
|
||||
# Double-quote args containing shell metacharacters to delay
|
||||
|
Loading…
Reference in New Issue
Block a user