99eaf946d6
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=0e684b6d69ca471a3edec76de2eeecc1
21 lines
664 B
Diff
21 lines
664 B
Diff
--- parse.y
|
|
+++ parse.y 2006-03-27 12:15:25.000000000 +0000
|
|
@@ -3106,7 +3106,7 @@ parse_matched_pair (qc, open, close, len
|
|
ttrans = ansiexpand (nestret, 0, nestlen - 1, &ttranslen);
|
|
xfree (nestret);
|
|
|
|
- if ((rflags & P_DQUOTE) == 0)
|
|
+ if (extended_quote || (rflags & P_DQUOTE) == 0)
|
|
{
|
|
nestret = sh_single_quote (ttrans);
|
|
free (ttrans);
|
|
@@ -3517,7 +3517,7 @@ eof_error:
|
|
ttrans = ansiexpand (nestret, 0, nestlen - 1, &ttranslen);
|
|
xfree (nestret);
|
|
|
|
- if ((rflags & P_DQUOTE) == 0)
|
|
+ if (extended_quote || (rflags & P_DQUOTE) == 0)
|
|
{
|
|
nestret = sh_single_quote (ttrans);
|
|
free (ttrans);
|