diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2023-09-02 11:03:29 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2023-09-02 11:43:42 +0100 |
commit | 82073545960c59404d32ee383f83d94e3dbfb4e8 (patch) | |
tree | a6090a7b25232957658259378959996f5776910b /dgit | |
parent | bc9f321baa9dd6b7c2a2437e11d0cb4c1b7b9498 (diff) |
d/source/options: Fix parsing to look for = not #
But this is still not sufficient, because some dpkg-source options
accumulate, so we mustn't just assign them.
No change with existing code since right now we only test for
single-debian-patch.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4153,7 +4153,7 @@ sub get_source_format () { next if m/^\s*\#/; next unless m/\S/; s/\s+$//; # ignore missing final newline - if (m/\s*\#\s*/) { + if (m/\s*\=\s*/) { my ($k, $v) = ($`, $'); #'); $v =~ s/^"(.*)"$/$1/; $options{$k} = $v; |