summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2023-09-02 11:03:29 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2023-09-02 11:43:42 +0100
commit82073545960c59404d32ee383f83d94e3dbfb4e8 (patch)
treea6090a7b25232957658259378959996f5776910b /dgit
parentbc9f321baa9dd6b7c2a2437e11d0cb4c1b7b9498 (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-xdgit2
1 files changed, 1 insertions, 1 deletions
diff --git a/dgit b/dgit
index f2a1ce9..ec0f6ce 100755
--- a/dgit
+++ b/dgit
@@ -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;