summaryrefslogtreecommitdiffstats
path: root/kernel.spec
diff options
context:
space:
mode:
Diffstat (limited to 'kernel.spec')
-rw-r--r--kernel.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel.spec b/kernel.spec
index 2fc82f904..00b39c8b8 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1165,10 +1165,10 @@ cd ..
# End of Configs stuff
# get rid of unwanted files resulting from patch fuzz
-find . \( -name "*.orig" -o -name "*~" \) -exec rm -f {} \; >/dev/null
+find . \( -name "*.orig" -o -name "*~" \) -delete >/dev/null
# remove unnecessary SCM files
-find . -name .gitignore -exec rm -f {} \; >/dev/null
+find . -name .gitignore -delete >/dev/null
cd ..