fix thinko

This commit is contained in:
Kyle McMartin 2013-09-17 12:40:46 -04:00
parent cdb7903f62
commit 39941060c1
1 changed files with 1 additions and 1 deletions

View File

@ -1771,7 +1771,7 @@ BuildKernel() {
sed -r -n -e "s/^([^ ]+) \\.?($2)\$/\\1/p" drivers.undef |
LC_ALL=C sort -u > $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$1
if [ ! -z "$3" ]; then
grep -v "$3" $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$1
sed -r -e "/^($3)\$/d" -i $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$1
fi
}