mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
scripts/kernel-functions: Fetch both Linus' tree and the stable tree
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8362 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -437,7 +437,8 @@ function download_and_extract_kernel_tree {
|
||||
mkdir "linux-$1"
|
||||
(
|
||||
cd "${kernel_tree}" &&
|
||||
{ git tag -l "v$1" >/dev/null || git fetch stable; } &&
|
||||
{ git tag -l "v$1" >/dev/null ||
|
||||
{ git fetch; git fetch stable; }; } &&
|
||||
git archive "v$1"
|
||||
) | tar -C "linux-$1" -xf-
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user