summaryrefslogtreecommitdiffstats
path: root/kernel.spec
diff options
context:
space:
mode:
authorKyle McMartin <kmcmarti@redhat.com>2013-09-17 12:40:46 -0400
committerKyle McMartin <kmcmarti@redhat.com>2013-09-17 12:40:46 -0400
commit39941060c1c3886af3e0b5b236e3c050db0634b6 (patch)
treef9a9bdc622afc87fa72d09d8475b34d3519c9428 /kernel.spec
parentcdb7903f6231232d5bb3356c3ff12bab882dbcc9 (diff)
downloadkernel-39941060c1c3886af3e0b5b236e3c050db0634b6.tar.gz
kernel-39941060c1c3886af3e0b5b236e3c050db0634b6.tar.xz
kernel-39941060c1c3886af3e0b5b236e3c050db0634b6.zip
fix thinko
Diffstat (limited to 'kernel.spec')
-rw-r--r--kernel.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel.spec b/kernel.spec
index da22ff09a..125e6ef6b 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -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
}