projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
deee808
)
Fix have_end_quote() to compare the quote against the correct group.
author
Zac Medico
<zmedico@gentoo.org>
Wed, 5 Mar 2008 22:03:31 +0000
(22:03 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 5 Mar 2008 22:03:31 +0000
(22:03 -0000)
svn path=/main/trunk/; revision=9442
bin/filter-bash-environment.py
patch
|
blob
|
history
diff --git
a/bin/filter-bash-environment.py
b/bin/filter-bash-environment.py
index 0db77ba5f1d84d5354abe1212ea86a2632c612a2..0a88f710b1e0c8933498e712dd60c4bfe7cbfa22 100755
(executable)
--- a/
bin/filter-bash-environment.py
+++ b/
bin/filter-bash-environment.py
@@
-32,7
+32,7
@@
def have_end_quote(quote, line):
"""
close_quote_match = close_quote_re.search(line)
return close_quote_match is not None and \
- close_quote_match.group(
0
) == quote
+ close_quote_match.group(
1
) == quote
def filter_bash_environment(pattern, file_in, file_out):
here_doc_delim = None