summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/filter-bash-environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/filter-bash-environment.py b/bin/filter-bash-environment.py
index 0db77ba5f..0a88f710b 100755
--- 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