diff options
| author | Alexandre Oliva <lxoliva@fsfla.org> | 2017-02-05 23:45:58 +0000 |
|---|---|---|
| committer | Alexandre Oliva <lxoliva@fsfla.org> | 2017-02-05 23:45:58 +0000 |
| commit | 676a765e3bd54bf23eb9a7c936aa7fba0289f32a (patch) | |
| tree | eb1828ea6201453b22f387cc256cbf088f860bf3 /scripts/deblob-main | |
| parent | ec45f2ce527565745970c61e1488753e2d5cb318 (diff) | |
| download | linux-libre-raptor-676a765e3bd54bf23eb9a7c936aa7fba0289f32a.tar.gz linux-libre-raptor-676a765e3bd54bf23eb9a7c936aa7fba0289f32a.zip | |
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.
Diffstat (limited to 'scripts/deblob-main')
| -rwxr-xr-x | scripts/deblob-main | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/deblob-main b/scripts/deblob-main index 8f24b6e48..80c8ba911 100755 --- a/scripts/deblob-main +++ b/scripts/deblob-main @@ -1,6 +1,6 @@ #! /bin/sh -# Copyright (C) 2008-2016 Alexandre Oliva <lxoliva@fsfla.org> +# Copyright (C) 2008-2017 Alexandre Oliva <lxoliva@fsfla.org> # 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 |

