From: lxoliva Date: Sun, 5 Feb 2017 23:45:58 +0000 (+0000) Subject: deblob-main: ignore comments in deblob-kver's kver= extra= line X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=48e90240f5e404f3fa2ce6814a2a4e68bab29722;p=releases.git deblob-main: ignore comments in deblob-kver's kver= extra= line I added a ' # for -rc6' after 'kver=4.10 extra=' in deblob-4.10, and that caused deblob-main to reject it. It should have worked. Fixed. git-svn-id: http://www.fsfla.org/svn/fsfla/software/linux-libre/scripts@13540 559672b5-ba27-0410-b829-e8f1faed8b1b --- diff --git a/deblob-main b/deblob-main index 8f24b6e48c4..80c8ba91126 100755 --- a/deblob-main +++ b/deblob-main @@ -1,6 +1,6 @@ #! /bin/sh -# Copyright (C) 2008-2016 Alexandre Oliva +# Copyright (C) 2008-2017 Alexandre Oliva # This program is part of GNU Linux-libre, a GNU project that # publishes scripts to clean up Linux so as to make it suitable for @@ -112,7 +112,7 @@ else fi x1="kver=$mver extra=$extra" -x2=`grep "^kver=[^ ]* extra=" $deblob` +x2=`grep "^kver=[^ ]* extra=" $deblob | sed 's, *#.*,,'` if test "$x1" = "$x2"; then : else