Adjust to cope with git-linus.diff in 2.6.27-0.148.rc0.git2.fc10.
[releases.git] / deblob-2.6.27
index 3650d12160cd6912e4a249b8bcff3230b08658e2..180f89b84e719ed359081f5916d40c7673f61ced 100755 (executable)
@@ -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 #