On Wed, Mar 30, 2005 at 11:17:42PM -0500, Jeff Garzik wrote:
> 
> Should hopefully just be changing get-version.pl ...

Nah, this simple patch to snapshot fixes it.

I've also generated the 2.6.12-rc1-bk3 snapshot and fixed up the
directory on kernel.org so it should now work properly if you apply the
patch.

Sorry about this issue, I never thought that tags in the bk tree would
cause such a mess...

thanks,

greg k-h

--------------


--- snapshot.orig       2005-03-30 21:44:16.869023655 -0800
+++ snapshot    2005-03-30 21:45:30.410153125 -0800
@@ -39,9 +39,12 @@
 #
 # discover most recent kernel version
 #
-tmptagver=`bk changes | grep 'TAG: v' | head -1 | awk '{print $2}'`
-kmicro=`echo $tmptagver | $getver -m`
-kextra=`echo $tmptagver | $getver -e`
+bk get -q Makefile 
+for TAG in SUBLEVEL EXTRAVERSION ; do
+       eval `sed -ne "/^$TAG/s/ //gp" Makefile`
+done
+kmicro="$SUBLEVEL"
+kextra="$EXTRAVERSION"
 kversion="$kmajor.$kminor.$kmicro$kextra"
 snapdir="$snapbase"            # /$kversion
 echo "found kernel version $kversion" >> $log
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to