From 0a7c97d4c3ca5d4442b78d779c963e3764641fd2 Mon Sep 17 00:00:00 2001 From: lxoliva Date: Wed, 16 Jul 2008 10:15:41 +0000 Subject: [PATCH] Adjust EXTRAVERSION after checking things up. Append -libre to EXTRAVERSION, rather than overriding it. git-svn-id: http://www.fsfla.org/svn/fsfla/software/linux-libre/scripts@3929 559672b5-ba27-0410-b829-e8f1faed8b1b --- deblob-2.6.23 | 4 ++-- deblob-2.6.24 | 4 ++-- deblob-2.6.25 | 4 ++-- deblob-2.6.26 | 4 ++-- deblob-2.6.27 | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/deblob-2.6.23 b/deblob-2.6.23 index d547fcd4ad5..0c7a978510d 100755 --- a/deblob-2.6.23 +++ b/deblob-2.6.23 @@ -46,8 +46,6 @@ # from 1 if changes are needed that require rebuilding the tarball. kver=2.6.23 extra=3 -sed -i "s,^EXTRAVERSION.*,EXTRAVERSION = -libre$extra," Makefile - if unifdef /dev/null; then :; else echo unifdef is required >&2 exit 1 @@ -170,6 +168,8 @@ for f in \ fi done +# Identify the tarball. +sed -i "s,^EXTRAVERSION.*,&-libre$extra," Makefile ####################### # Removed ATM Drivers # diff --git a/deblob-2.6.24 b/deblob-2.6.24 index 43f4e7e807f..e266430674d 100755 --- a/deblob-2.6.24 +++ b/deblob-2.6.24 @@ -46,8 +46,6 @@ # from 1 if changes are needed that require rebuilding the tarball. kver=2.6.24 extra=3 -sed -i "s,^EXTRAVERSION.*,EXTRAVERSION = -libre$extra," Makefile - if unifdef /dev/null; then :; else echo unifdef is required >&2 exit 1 @@ -170,6 +168,8 @@ for f in \ fi done +# Identify the tarball. +sed -i "s,^EXTRAVERSION.*,&-libre$extra," Makefile ####################### # Removed ATM Drivers # diff --git a/deblob-2.6.25 b/deblob-2.6.25 index ecaf58f5ef0..ba50621f39e 100755 --- a/deblob-2.6.25 +++ b/deblob-2.6.25 @@ -46,8 +46,6 @@ # from 1 if changes are needed that require rebuilding the tarball. kver=2.6.25 extra=3 -sed -i "s,^EXTRAVERSION.*,EXTRAVERSION = -libre$extra," Makefile - if unifdef /dev/null; then :; else echo unifdef is required >&2 exit 1 @@ -170,6 +168,8 @@ for f in \ fi done +# Identify the tarball. +sed -i "s,^EXTRAVERSION.*,&-libre$extra," Makefile ####################### # Removed ATM Drivers # diff --git a/deblob-2.6.26 b/deblob-2.6.26 index 1322df09bf4..9cf4403154f 100755 --- a/deblob-2.6.26 +++ b/deblob-2.6.26 @@ -46,8 +46,6 @@ # from 1 if changes are needed that require rebuilding the tarball. kver=2.6.26 extra=1 -sed -i "s,^EXTRAVERSION.*,EXTRAVERSION = -libre$extra," Makefile - if unifdef /dev/null; then :; else echo unifdef is required >&2 exit 1 @@ -170,6 +168,8 @@ for f in \ fi done +# Identify the tarball. +sed -i "s,^EXTRAVERSION.*,&-libre$extra," Makefile ####################### # Removed ATM Drivers # diff --git a/deblob-2.6.27 b/deblob-2.6.27 index 3650d12160c..180f89b84e7 100755 --- a/deblob-2.6.27 +++ b/deblob-2.6.27 @@ -46,8 +46,6 @@ # from 1 if changes are needed that require rebuilding the tarball. kver=2.6.27 extra= -sed -i "s,^EXTRAVERSION.*,EXTRAVERSION = -libre$extra," Makefile - check=`echo $0 | sed 's,/[^/]*$,,'`/deblob-check if [ ! -f $check ] ; then echo optional deblob-check missing, will remove entire files >&2 @@ -159,6 +157,8 @@ for f in \ fi done +# Identify the tarball. +sed -i "s,^EXTRAVERSION.*,&-libre$extra," Makefile ####################### # Removed ATM Drivers # -- 2.31.1