summaryrefslogtreecommitdiffstats
path: root/kernel.spec
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2018-10-14 17:52:11 +0100
committerPeter Robinson <pbrobinson@gmail.com>2018-10-14 17:52:11 +0100
commite0cda5a30e112593b3b4560f58d5ad7f492745b0 (patch)
tree836375cbc705b729ca0068d3191fddbf40394e2f /kernel.spec
parentfae554d6cb8af0c3febe789595c3af2e73b7e1f5 (diff)
downloadkernel-e0cda5a30e112593b3b4560f58d5ad7f492745b0.tar.gz
kernel-e0cda5a30e112593b3b4560f58d5ad7f492745b0.tar.xz
kernel-e0cda5a30e112593b3b4560f58d5ad7f492745b0.zip
one more use -delete on find commands
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 03647bab5..1b9b0fdd8 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1555,7 +1555,7 @@ BuildKernel() {
ln -sf $DevelDir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
# prune junk from kernel-devel
- find $RPM_BUILD_ROOT/usr/src/kernels -name ".*.cmd" -exec rm -f {} \;
+ find $RPM_BUILD_ROOT/usr/src/kernels -name ".*.cmd" -delete
# build a BLS config for this kernel
%{SOURCE43} "$KernelVer" "$RPM_BUILD_ROOT" "%{?variant}"