mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
Don't allow whitespace in package version when parsing debian/changelog.
This commit is contained in:
@@ -317,6 +317,7 @@ sub prep {
|
|||||||
my $line=<$changelog>;
|
my $line=<$changelog>;
|
||||||
if ($line=~/^[^ ]+\s+\(([^)]+)\)\s/) {
|
if ($line=~/^[^ ]+\s+\(([^)]+)\)\s/) {
|
||||||
my $version=$1;
|
my $version=$1;
|
||||||
|
$version=~s/\s+//; # ensure no whitespace
|
||||||
if ($version=~/(.*)-(.*)/) {
|
if ($version=~/(.*)-(.*)/) {
|
||||||
$version=$1;
|
$version=$1;
|
||||||
$this->release($2);
|
$this->release($2);
|
||||||
|
|||||||
6
debian/changelog
vendored
6
debian/changelog
vendored
@@ -1,3 +1,9 @@
|
|||||||
|
alien (8.77) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
* Don't allow whitespace in package version when parsing debian/changelog.
|
||||||
|
|
||||||
|
-- Joey Hess <joeyh@debian.org> Wed, 17 Jun 2009 13:06:53 -0400
|
||||||
|
|
||||||
alien (8.76) unstable; urgency=low
|
alien (8.76) unstable; urgency=low
|
||||||
|
|
||||||
* Avoid using hostname -f for portability to unix systems,
|
* Avoid using hostname -f for portability to unix systems,
|
||||||
|
|||||||
Reference in New Issue
Block a user