[SCM] Git repository for devscripts branch, master, updated. v2.11.7-41-g5d5697d
Stefano Rivera
stefanor at debian.org
Thu May 31 01:09:11 UTC 2012
The following commit has been merged in the master branch:
commit 5d5697d9b607d89fc36d1249d12ab7e092dce001
Author: Stefano Rivera <stefanor at debian.org>
Date: Thu May 31 02:09:02 2012 +0100
Don't display an error saying UNRELEASED will be used, when it won't because a distribution was specified
diff --git a/scripts/debchange.pl b/scripts/debchange.pl
index c8f7c91..1f484e0 100755
--- a/scripts/debchange.pl
+++ b/scripts/debchange.pl
@@ -612,7 +612,7 @@ if (! $opt_create || ($opt_create && $opt_news)) {
my $ubu_info = get_ubuntu_distro_info();
if ($ubu_info == 0 or !$ubu_info->devel()) {
warn "$progname warning: Unable to determine the current Ubuntu "
- . "development release. Using UNRELEASED instead.";
+ . "development release. Using UNRELEASED instead." if (!$opt_D);
$DISTRIBUTION = 'UNRELEASED';
} else {
$DISTRIBUTION = $ubu_info->devel();
--
Git repository for devscripts
More information about the devscripts-devel
mailing list