aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-07-30 22:38:23 +0200
committerGerd Hoffmann <kraxel@redhat.com>2019-07-30 22:38:23 +0200
commitfb42e0730e6be54c80456e4f14e5cd98e7be9dfe (patch)
treee31447f8c7eab3427cf0c2805d08b6cf44410252
parent04b6082d71cd1edb2df54409e7e17cca14b96ae8 (diff)
downloadjenkinsfiles-fb42e0730e6be54c80456e4f14e5cd98e7be9dfe.tar.gz
cleanup tweak
-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