Home Home > GIT Browse > vanilla
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2019-06-20 12:40:20 +0200
committerMichal Suchanek <msuchanek@suse.de>2019-06-20 12:47:11 +0200
commit5def2a260da9a4cfa1714811c4c19e691879e395 (patch)
tree799972a7cdee3798e7e5f33b21852b1680764f0e
parent8325214d461fe3a571b0a2204fd30ae957a82769 (diff)
kernel-binary: Use -c grep option in klp project detection.
-rw-r--r--rpm/kernel-binary.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm/kernel-binary.spec.in b/rpm/kernel-binary.spec.in
index d08f8f85e1..1967ac9561 100644
--- a/rpm/kernel-binary.spec.in
+++ b/rpm/kernel-binary.spec.in
@@ -38,7 +38,7 @@
%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj
%if 0%{?_project:1} && ( %(echo %_project | egrep -x -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || \
- %(echo %_project | grep -E "^(Devel:)?Kernel:") )
+ %(echo %_project | grep -Ec "^(Devel:)?Kernel:") )
%define klp_symbols 1
%endif