compat-wireless: fix script for generating releases
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 23 Jun 2011 23:53:09 +0000 (16:53 -0700)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 23 Jun 2011 23:53:09 +0000 (16:53 -0700)
The SUBLEVEL is now ignored for 3.0 kernels.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
scripts/gen-stable-release.sh

index 7cb5a1df0497e62c55ad1df62f69aa10465f555b..d01cb364ff6cd68aedb3e9983557ce2cfd1bc2b9 100755 (executable)
@@ -136,7 +136,7 @@ echo "On $ALL_STABLE_TREE: $TARGET_BRANCH"
 # on matching compat-wireless branch.
 
 # This is a super hack, but let me know if you figure out a cleaner way
-TARGET_KERNEL_RELEASE=$(make VERSION="linux-2" EXTRAVERSION=".y" kernelversion)
+TARGET_KERNEL_RELEASE=$(make VERSION="linux-3" SUBLEVEL="" EXTRAVERSION=".y" kernelversion)
 
 if [[ $COMPAT_WIRELESS_BRANCH != $TARGET_KERNEL_RELEASE ]]; then
        echo -e "You are on the compat-wireless ${GREEN}${COMPAT_WIRELESS_BRANCH}${NORMAL} but are "