compat-drivers: fix ChangeLog file name
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Sat, 20 Oct 2012 01:45:05 +0000 (18:45 -0700)
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>
Sat, 20 Oct 2012 01:45:05 +0000 (18:45 -0700)
This will now produce something like: ChangeLog-v3.7-rc1-4

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
scripts/gen-release.sh
scripts/genlog-3.7

index 54692b42ffa96300ec0c9a89ff9de910ba225603..6ed4c60dd9bc406f9b9bdc56c879fce36ebfbbd3 100755 (executable)
@@ -173,7 +173,8 @@ if [[ $COMPAT_DRIVERS_BRANCH != $TARGET_KERNEL_RELEASE && $BASE_TREE != "linux-n
 fi
 
 cd $COMPAT_DRIVERS_DIR
-CHANGELOG_FILE=$(git describe)
+CHANGELOG_FILE="ChangeLog-$(git describe| sed -e 's|compat-drivers-||')"
+
 
 if [[ $COMPAT_DRIVERS_BRANCH != "master" ]]; then
        RELEASE=$(git describe --abbrev=0 | sed -e 's|\(v\)\([0-9]\)|\2|')
index 7ac827a80666e897be59313399dbc99423df8e8c..1bfb112c007151a66132b18d83e98df7d754bff2 100755 (executable)
@@ -8,7 +8,7 @@ export GIT_DIR=${COMPAT_DRIVERS}
 OLD_VER=6
 let VER="7"
 RC="-rc1"
-LOG="ChangeLog-$(git describe)"
+LOG="ChangeLog-$(git describe| sed -e 's|compat-drivers-||')"
 
 echo > $LOG