fix thinko in previous commit, resulting in /usr/src/kernels/$ver/build/

This commit is contained in:
Kyle McMartin 2010-12-06 12:49:34 -05:00
parent 4b3b40727e
commit f6c1ae10e3

View File

@ -1572,7 +1572,7 @@ BuildKernel() {
done
# Move the devel headers out of the root file system
mkdir -p $RPM_BUILD_ROOT/$DevelDir
mkdir -p $RPM_BUILD_ROOT/usr/src/kernels
mv $RPM_BUILD_ROOT/lib/modules/$KernelVer/build $RPM_BUILD_ROOT/$DevelDir
ln -sf ../../..$DevelDir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build