diff options
author | Frank Lichtenheld <djpig@debian.org> | 2006-02-11 00:23:42 +0000 |
---|---|---|
committer | Frank Lichtenheld <djpig@debian.org> | 2006-02-11 00:23:42 +0000 |
commit | 7c7caa4ecaa91f5152b28c29d0b6ff0835f866fa (patch) | |
tree | 09b360fe91e4f845c00803d6b17bb3f341dadc04 /scripts | |
parent | fb843e5cac434c71121f34717128956e958a7fba (diff) | |
download | dpkg-7c7caa4ecaa91f5152b28c29d0b6ff0835f866fa.tar.gz |
Strip any newlines from Uploaders field on dpkg-source -b.
Closes: #254449
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dpkg-source.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/dpkg-source.pl b/scripts/dpkg-source.pl index d5cd8e2ee..4a6a44d24 100755 --- a/scripts/dpkg-source.pl +++ b/scripts/dpkg-source.pl @@ -173,7 +173,8 @@ if ($opmode eq 'build') { $v= $fi{$_}; if (s/^C //) { if (m/^Source$/i) { &setsourcepackage; } - elsif (m/^(Standards-Version|Origin|Maintainer|Uploaders)$/i) { $f{$_}= $v; } + elsif (m/^(Standards-Version|Origin|Maintainer)$/i) { $f{$_}= $v; } + elsif (m/^Uploaders$/i) { ($f{$_}= $v) =~ s/[\r\n]//g; } elsif (m/^Build-(Depends|Conflicts)(-Indep)?$/i) { my $dep = parsedep(substvars($v),1); &error("error occoured while parsing $_") unless defined $dep; |