mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 01:01:27 +00:00
scripts/kernel-functions: Revert r9445
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9469 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -785,7 +785,11 @@ function download_and_extract_distro_rpm {
|
||||
rpm2cpio "${kernel_downloads}/kernel-${kver}.src.rpm" |
|
||||
cpio -i --make-directories --quiet &&
|
||||
tar xaf "linux-${kver}"*.tar.* &&
|
||||
mv "linux-${kver}"*[^z] "../linux-${kver}"
|
||||
if [ -e "linux-${kver}" ]; then
|
||||
mv "linux-${kver}" ..
|
||||
else
|
||||
mv "linux-${kver}"*[^z] "../linux-${kver}"
|
||||
fi
|
||||
;;
|
||||
UEK)
|
||||
rpm2cpio "${kernel_downloads}/kernel-uek-${kver}.src.rpm" |
|
||||
|
||||
Reference in New Issue
Block a user