aboutsummaryrefslogtreecommitdiffstats
path: root/kernel.spec.template
diff options
context:
space:
mode:
Diffstat (limited to 'kernel.spec.template')
-rw-r--r--kernel.spec.template4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel.spec.template b/kernel.spec.template
index 813b95d..ecf1f3a 100644
--- a/kernel.spec.template
+++ b/kernel.spec.template
@@ -73,8 +73,8 @@ rm -f %{buildroot}/lib/modules/%{KNLVERS}/modules.*.bin
rm -f %{buildroot}/lib/modules/%{KNLVERS}/modules.{symbols,softdep,devname,dep,alias}
rm -f %{buildroot}/lib/modules/%{KNLVERS}/source
rm -f %{buildroot}/lib/modules/%{KNLVERS}/build
-find %{buildroot}/usr -name .install -print | xargs rm
-find %{buildroot}/usr -name ..install.cmd -print | xargs rm
+find %{buildroot}/usr -name .install -exec rm "{}" ";"
+find %{buildroot}/usr -name ..install.cmd -exec rm "{}" ";"
# strip and compress modules
find %{buildroot}/lib/modules -name "*.ko" | xargs strip --strip-debug