mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
Make scripts/kernel-functions again compatible with 2.6.x kernels
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5661 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -95,8 +95,9 @@ function extract_kernel_tree {
|
||||
| patch -p1 -f -s; ) \
|
||||
|| return $?
|
||||
else
|
||||
extract_kernel_archive $kver || return $?
|
||||
mv linux-$kver linux-$1
|
||||
extract_kernel_archive $1 ||
|
||||
{ extract_kernel_archive $kver && mv linux-$kver linux-$1; } ||
|
||||
return $?
|
||||
fi
|
||||
mv "linux-$1" ".." || return $?
|
||||
cd "../linux-$1" || return $?
|
||||
|
||||
Reference in New Issue
Block a user