anything useful anymore as it got dropped from several other
scripts over the years without problems.
+ * scripts/dpkg-source.pl: Integrate readmd5sum from controllib here
+ as it's the only user of that function.
+
2007-12-28 Raphael Hertzog <hertzog@debian.org>
* scripts/Dpkg/ErrorHandling.pm (syntaxerr): New function to
return join("", @_);
} }
+sub readmd5sum {
+ (my $md5sum = shift) or return;
+ $md5sum =~ s/^([0-9a-f]{32})\s*\*?-?\s*\n?$/$1/o
+ || failure(_g("md5sum gave bogus output `%s'"), $md5sum);
+ return $md5sum;
+}
+