From 8ae20cc5f82e1b9f6bfb201759c4808894d38bd0 Mon Sep 17 00:00:00 2001 From: lxoliva Date: Sun, 18 May 2008 23:41:31 +0000 Subject: [PATCH] Check that deblobbed files have been modified. git-svn-id: http://www.fsfla.org/svn/fsfla/software/linux-libre/scripts@3548 559672b5-ba27-0410-b829-e8f1faed8b1b --- deblob-2.6.23 | 4 +++- deblob-2.6.24 | 4 +++- deblob-2.6.25 | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/deblob-2.6.23 b/deblob-2.6.23 index 531a975ca27..f1e237f639f 100755 --- a/deblob-2.6.23 +++ b/deblob-2.6.23 @@ -40,7 +40,7 @@ # For each kver release, start extra with an empty string, then count # from 1 if changes are needed that require rebuilding the tarball. -kver=2.6.23 extra= +kver=2.6.23 extra=1 sed -i "s,^EXTRAVERSION.*,EXTRAVERSION = -libre$extra," Makefile @@ -66,6 +66,7 @@ function clean_blob { set fnord "$@" -d shift 2 $check "$@" $name > $name.deblob + cmp $name.deblob $name || exit 1 mv $name.deblob $name else clean_file $1 @@ -88,6 +89,7 @@ function clean_mk { function clean_ifdef { #$1 = filename $2 = macro to -U unifdef $1 -U$2 > $1.deblob + cmp $name.deblob $name || exit 1 mv $1.deblob $1 } diff --git a/deblob-2.6.24 b/deblob-2.6.24 index efd00d3fed5..5485aae1714 100755 --- a/deblob-2.6.24 +++ b/deblob-2.6.24 @@ -40,7 +40,7 @@ # For each kver release, start extra with an empty string, then count # from 1 if changes are needed that require rebuilding the tarball. -kver=2.6.25 extra= +kver=2.6.24 extra=1 sed -i "s,^EXTRAVERSION.*,EXTRAVERSION = -libre$extra," Makefile @@ -66,6 +66,7 @@ function clean_blob { set fnord "$@" -d shift 2 $check "$@" $name > $name.deblob + cmp $name.deblob $name || exit 1 mv $name.deblob $name else clean_file $1 @@ -88,6 +89,7 @@ function clean_mk { function clean_ifdef { #$1 = filename $2 = macro to -U unifdef $1 -U$2 > $1.deblob + cmp $name.deblob $name || exit 1 mv $1.deblob $1 } diff --git a/deblob-2.6.25 b/deblob-2.6.25 index 2f3457d5704..968bf5efcb1 100755 --- a/deblob-2.6.25 +++ b/deblob-2.6.25 @@ -40,7 +40,7 @@ # For each kver release, start extra with an empty string, then count # from 1 if changes are needed that require rebuilding the tarball. -kver=2.6.25 extra= +kver=2.6.25 extra=1 sed -i "s,^EXTRAVERSION.*,EXTRAVERSION = -libre$extra," Makefile @@ -66,6 +66,7 @@ function clean_blob { set fnord "$@" -d shift 2 $check "$@" $name > $name.deblob + cmp $name.deblob $name || exit 1 mv $name.deblob $name else clean_file $1 @@ -88,6 +89,7 @@ function clean_mk { function clean_ifdef { #$1 = filename $2 = macro to -U unifdef $1 -U$2 > $1.deblob + cmp $name.deblob $name || exit 1 mv $1.deblob $1 } -- 2.31.1