[T/X/Z/A][PATCH] UBUNTU: d/s/m/insert-ubuntu-changes: <stop at> should not be included in the changelog

Marcelo Henrique Cerri marcelo.cerri at canonical.com
Wed Oct 11 13:32:39 UTC 2017


Ignore: yes

Commit "UBUNTU: d/s/m/insert-ubuntu-changes: use full version numbers"
wrongly change the behaviour of the "<stop at>" parameter.

Change the script to not include the <stop at> version into the target
changelog.

Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri at canonical.com>
---
 debian/scripts/misc/insert-ubuntu-changes | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/scripts/misc/insert-ubuntu-changes b/debian/scripts/misc/insert-ubuntu-changes
index 7af9c20c1215..145c81c5dbd3 100755
--- a/debian/scripts/misc/insert-ubuntu-changes
+++ b/debian/scripts/misc/insert-ubuntu-changes
@@ -37,7 +37,7 @@ open(CHG, "<debian.master/changelog") ||
 	die "$0: debian/changelog: open failed - $!\n";
 while (<CHG>) {
 	if (/^\S+\s+\((.*)\)/) {
-		if (version_cmp($1, $end) <= -1) {
+		if (version_cmp($1, $end) <= 0) {
 			last;
 		}
 		if ($1 eq $start) {
-- 
2.7.4





More information about the kernel-team mailing list