summaryrefslogtreecommitdiffstats
path: root/scripts/deblob-2.6.25
diff options
context:
space:
mode:
authorAlexandre Oliva <lxoliva@fsfla.org>2008-05-18 23:41:31 +0000
committerAlexandre Oliva <lxoliva@fsfla.org>2008-05-18 23:41:31 +0000
commit85d3a78606d7d5548b60ba8a0bf7dd3c4a30b310 (patch)
treede85f6e186ee3b33ab9c80400820548747cac420 /scripts/deblob-2.6.25
parent496466c240b4a27e1398f60a401b46fef17765bd (diff)
downloadlinux-libre-raptor-85d3a78606d7d5548b60ba8a0bf7dd3c4a30b310.tar.gz
linux-libre-raptor-85d3a78606d7d5548b60ba8a0bf7dd3c4a30b310.zip
Check that deblobbed files have been modified.
Diffstat (limited to 'scripts/deblob-2.6.25')
-rwxr-xr-xscripts/deblob-2.6.254
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/deblob-2.6.25 b/scripts/deblob-2.6.25
index 2f3457d57..968bf5efc 100755
--- a/scripts/deblob-2.6.25
+++ b/scripts/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
}
OpenPOWER on IntegriCloud