Fix config process for non debug

This commit is contained in:
Justin M. Forbes 2012-04-02 23:08:36 -05:00
parent 30514337d1
commit 3ebcb96b0d

View File

@ -1459,7 +1459,7 @@ rm -f kernel-%{version}-*debug.config
# run oldconfig over the config files (except when noarch)
if [ "%{_target_cpu}" != "noarch" ]; then
for i in kernel-*-%{_target_cpu}-*.config
for i in kernel-*-%{_target_cpu}*.config
do
mv $i .config
Arch=`head -1 .config | cut -b 3-`