compat-wireless: make gen-stable-release.sh use new release number for dirs
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Tue, 17 Aug 2010 23:37:39 +0000 (16:37 -0700)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 23 Aug 2010 23:59:56 +0000 (16:59 -0700)
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
scripts/gen-stable-release.sh

index bf11b1845660dfdde40a312219031ef7c9536879..959c2a51807fda6613514f7c73fe030e1f14ad58 100755 (executable)
@@ -134,9 +134,8 @@ if [[ $COMPAT_WIRELESS_BRANCH != $TARGET_KERNEL_RELEASE ]]; then
 fi
 
 
-# We should now be on the branch we want
-KERNEL_RELEASE=$(git describe --abbrev=0 | sed -e 's/v//g')
-RELEASE="compat-wireless-$KERNEL_RELEASE"
+cd $COMPAT_WIRELESS_DIR
+RELEASE=$(git describe --abbrev=0)
 if [[ $POSTFIX_RELEASE_TAG != "-" ]]; then
        RELEASE="${RELEASE}${POSTFIX_RELEASE_TAG}"
 fi