diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-06-28 02:06:36 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-06-28 02:06:36 -0700 |
commit | e63823dd8358f50559fa616313cdde3ceaf104ed (patch) | |
tree | 3d99c770fdcf27e6f519d160b1da737f46772ea6 /bin/emerge | |
parent | 8ff8b0aad08d1381aeb410807881b46ba4bc7135 (diff) | |
download | portage-e63823dd8358f50559fa616313cdde3ceaf104ed.tar.gz portage-e63823dd8358f50559fa616313cdde3ceaf104ed.tar.bz2 portage-e63823dd8358f50559fa616313cdde3ceaf104ed.zip |
varexpand: handle backslashes like more like bash
For backslash expansion, this function used to behave like echo
-e, but that's not needed for our purposes. We want to behave like
bash does when expanding a variable assignment in a sourced file,
in which case it performs backslash removal for \\ and \$ but nothing
more. This will fix bash compatibility for the case reported in
bug #365033.
Diffstat (limited to 'bin/emerge')
0 files changed, 0 insertions, 0 deletions