sh: Use DQSYNTAX only while expanding, not SQSYNTAX.
Quoting during expansion only cares about CCTL, which is the same for DQSYNTAX and SQSYNTAX.
This commit is contained in:
parent
8b94b5836c
commit
08dc8cf90c
@ -337,7 +337,7 @@ done:
|
||||
if (home == NULL || *home == '\0')
|
||||
return (startp);
|
||||
if (quotes)
|
||||
STPUTS_QUOTES(home, SQSYNTAX, expdest);
|
||||
STPUTS_QUOTES(home, DQSYNTAX, expdest);
|
||||
else
|
||||
STPUTS(home, expdest);
|
||||
return (p);
|
||||
|
Loading…
x
Reference in New Issue
Block a user