summaryrefslogtreecommitdiffstats
path: root/scripts/deblob-2.6.25
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/deblob-2.6.25')
-rwxr-xr-xscripts/deblob-2.6.259
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/deblob-2.6.25 b/scripts/deblob-2.6.25
index 6dc20a1fc..2091069a8 100755
--- a/scripts/deblob-2.6.25
+++ b/scripts/deblob-2.6.25
@@ -44,7 +44,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=4
+kver=2.6.25 extra=4++
case $1 in
--force) die () { echo ERROR: "$@": ignored >&2; }; shift;;
@@ -114,8 +114,7 @@ function clean_mk {
if sed -n "/\\($1\\)/p" $2 | grep . > /dev/null; then
:
else
- echo $2 does not contain matches for $1
- exit 1
+ die $2 does not contain matches for $1
fi
}
@@ -371,7 +370,9 @@ clean_kconfig drivers/net/Kconfig 'TEHUTI'
clean_mk CONFIG_TEHUTI drivers/net/Makefile
# TIGON3 - Broadcom Tigon3
-patch --no-backup-if-mismatch -p0 <<\EOF # patches/linux-2.6-tg3-clean.patch
+patch --no-backup-if-mismatch --batch -p0 <<\EOF || \
+ die failed to remove license comments from drivers/net/tg3.c \
+ # patches/linux-2.6-tg3-clean.patch
--- drivers/net/tg3.c
+++ drivers/net/tg3.c
@@ -5,14 +5,6 @@
OpenPOWER on IntegriCloud