pull-debian-source: Fix logical error in abort check (lp: #678072).

This commit is contained in:
Michael Bienia 2010-11-21 14:48:22 +01:00
parent bf8f15471f
commit d55ea2647f
2 changed files with 6 additions and 3 deletions

5
debian/changelog vendored
View File

@ -7,7 +7,10 @@ ubuntu-dev-tools (0.106) UNRELEASED; urgency=low
* sponsor-patch: Call dpkg-source with --no-preparation to not apply patches
if the packages uses the 3.0 (quilt) format.
-- Benjamin Drung <bdrung@ubuntu.com> Sat, 20 Nov 2010 22:03:07 +0100
[ Michael Bienia ]
* pull-debian-source: Fix logical error in abort check (lp: #678072).
-- Michael Bienia <geser@ubuntu.com> Sun, 21 Nov 2010 14:46:12 +0100
ubuntu-dev-tools (0.105) experimental; urgency=low

View File

@ -74,7 +74,7 @@ sub getURL{
$package=lc($package);
$package=~s/\+/%2b/g;
$release=lc($release);
my($baseURL)='http://qa.debian.org/madison.php?text=on';
my($baseURL)='http://qa.debian.org/madison.php?text=on&a=source';
my($url)=$baseURL . '&package=' . $package . '&s=' . $release;
return $url;
}
@ -82,7 +82,7 @@ sub getMadison {
my($url)=shift || die("No URL Passed to getMadison: $!\n");
chomp $url;
my($madison)=get($url);
die("The source package $package isn't available in Debian testing.\nRun $name $package unstable if the package has not yet migrated from Debian unstable to Debian testing.\n") unless ($release=~m/testing/ && $madison!~m/^\s*$/);
die("The source package $package isn't available in Debian testing.\nRun $name $package unstable if the package has not yet migrated from Debian unstable to Debian testing.\n") if ($release=~m/testing/ && $madison=~m/^\s*$/);
return $madison;
}
sub getDSC {