Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 280690
Collapse All | Expand All

(-)bin/filter-bash-environment.py (-1 / +6 lines)
Lines 48-54 Link Here
48
				quote = var_assign_match.group(3)
48
				quote = var_assign_match.group(3)
49
				filter_this = pattern.match(var_assign_match.group(2)) \
49
				filter_this = pattern.match(var_assign_match.group(2)) \
50
					is not None
50
					is not None
51
				if quote is not None and not have_end_quote(quote, line):
51
				# Exclude the start quote when searching for the end quote,
52
				# to ensure that the first quote is not identified as the
53
				# end quote (happends if there is a newline immediately after
54
				# the start quote).
55
				if quote is not None and not \
56
					have_end_quote(quote, line[var_assign_match.end(2)+2:]):
52
					multi_line_quote = quote
57
					multi_line_quote = quote
53
					multi_line_quote_filter = filter_this
58
					multi_line_quote_filter = filter_this
54
				if not filter_this:
59
				if not filter_this:

Return to bug 280690