scripts/generate-kernel-patch: Parse the kernel version properly

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8986 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2020-05-26 20:14:20 +00:00
parent 3612dfb616
commit 630573ed19
+1 -1
View File
@@ -121,7 +121,7 @@ function specialize_patch {
)
fi
local kver3
set -- ${kver//./ }
set -- ${kver//[.-]/ }
if [ -n "$3" ]; then
kver3=$1.$2.$3
else