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

Stefan Bader stefan.bader at canonical.com
Mon Oct 16 13:07:15 UTC 2017


On 11.10.2017 15:32, Marcelo Henrique Cerri wrote:
> 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>
Acked-by: Stefan Bader <stefan.bader 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) {
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20171016/49c4914c/attachment.sig>


More information about the kernel-team mailing list