Merge lp:~maxb/ubuntu/lucid/devscripts/509441 into lp:ubuntu/lucid/devscripts

Proposed by Max Bowsher
Status: Merged
Merged at revision: not available
Proposed branch: lp:~maxb/ubuntu/lucid/devscripts/509441
Merge into: lp:ubuntu/lucid/devscripts
Diff against target: 39 lines (+16/-3)
2 files modified
debian/changelog (+8/-0)
scripts/debchange.pl (+8/-3)
To merge this branch: bzr merge lp:~maxb/ubuntu/lucid/devscripts/509441
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+17640@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2010-01-06 09:11:35 +0000
+++ debian/changelog 2010-01-19 02:19:12 +0000
@@ -1,3 +1,11 @@
1devscripts (2.10.61ubuntu2) lucid; urgency=low
2
3 * Restore changes to scripts/debchange.pl erroneously dropped in the
4 2.10.55ubuntu1 merge, thereby fixing the --distributor option.
5 (LP: #509441)
6
7 -- Max Bowsher <maxb@f2s.com> Tue, 19 Jan 2010 02:16:10 +0000
8
1devscripts (2.10.61ubuntu1) lucid; urgency=low9devscripts (2.10.61ubuntu1) lucid; urgency=low
210
3 [ ﺄﺤﻣﺩ ﺎﻠﻤﺤﻣﻭﺪﻳ (Ahmed El-Mahmoudy) ]11 [ ﺄﺤﻣﺩ ﺎﻠﻤﺤﻣﻭﺪﻳ (Ahmed El-Mahmoudy) ]
412
=== modified file 'scripts/debchange.pl'
--- scripts/debchange.pl 2010-01-06 09:11:35 +0000
+++ scripts/debchange.pl 2010-01-19 02:19:12 +0000
@@ -402,11 +402,16 @@
402402
403# See if we're Debian, Ubuntu or someone else, if we can403# See if we're Debian, Ubuntu or someone else, if we can
404my $distributor;404my $distributor;
405if (system('command -v lsb_release >/dev/null 2>&1') >> 8 == 0) {405if (defined $opt_distributor) {
406 $distributor = `lsb_release -is 2>/dev/null`;406 $distributor = $opt_distributor;
407 chomp $distributor;407} elsif (system('command -v lsb_release >/dev/null 2>&1') >> 8 == 0) {
408 $distributor = `lsb_release -is 2>/dev/null`;
409 chomp $distributor;
408}410}
409$distributor ||= 'Debian';411$distributor ||= 'Debian';
412if ($distributor eq 'Ubuntu' and ($opt_n or $opt_bn or $opt_qa or $opt_bpo)) {
413 $distributor = 'Debian';
414}
410415
411# Check the distro name given.416# Check the distro name given.
412if (defined $opt_D) {417if (defined $opt_D) {

Subscribers

People subscribed via source and target branches

to all changes: