kernel-snapshot: simplify _kernver assignment.

This commit is contained in:
Juan RP 2012-07-08 09:38:34 +02:00
parent 384e9eceab
commit 2e8515a899
1 changed files with 1 additions and 5 deletions

View File

@ -25,11 +25,7 @@ long_desc="
distfiles="http://www.kernel.org/pub/linux//kernel/v3.0/testing/linux-${_kmajor}-${_kpatch}.tar.xz"
checksum=7d23bd797592e223f4cf383f6d0cadee9af1d2f408a8ff00ef5e6a9d1b4909b4
if [ -n "$revision" ]; then
_kernver="${_kmajor}.${_kminor}-${_kpatch}_${revision}"
else
_kernver="${_kmajor}.${_kminor}-${_kpatch}"
fi
_kernver="${_kmajor}.${_kminor}-${_kpatch}_${revision}"
kernel_hooks_version="${_kernver}"
# These files could be modified when an external module is built.