fix thinko
This commit is contained in:
parent
cdb7903f62
commit
39941060c1
@ -1771,7 +1771,7 @@ BuildKernel() {
|
|||||||
sed -r -n -e "s/^([^ ]+) \\.?($2)\$/\\1/p" drivers.undef |
|
sed -r -n -e "s/^([^ ]+) \\.?($2)\$/\\1/p" drivers.undef |
|
||||||
LC_ALL=C sort -u > $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$1
|
LC_ALL=C sort -u > $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$1
|
||||||
if [ ! -z "$3" ]; then
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user