mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 04:36:22 +00:00
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:
@@ -121,7 +121,7 @@ function specialize_patch {
|
||||
)
|
||||
fi
|
||||
local kver3
|
||||
set -- ${kver//./ }
|
||||
set -- ${kver//[.-]/ }
|
||||
if [ -n "$3" ]; then
|
||||
kver3=$1.$2.$3
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user