From 8b813d3c547a30e99036746ca7d0db92bef272be Mon Sep 17 00:00:00 2001 From: Michael Young Date: Sat, 30 Oct 2010 23:02:42 +0100 Subject: [PATCH] Quote wildcard argument in "find" command --- kernel.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel.spec b/kernel.spec index a7377aa7d..7c6c4e75c 100644 --- a/kernel.spec +++ b/kernel.spec @@ -1732,7 +1732,7 @@ find $RPM_BUILD_ROOT/usr/include \ \( -name .install -o -name .check -o \ -name ..install.cmd -o -name ..check.cmd \) | xargs rm -f -find $RPM_BUILD_ROOT/usr/src/kernels -name .*.cmd -exec rm -f {} \; +find $RPM_BUILD_ROOT/usr/src/kernels -name ".*.cmd" -exec rm -f {} \; # glibc provides scsi headers for itself, for now rm -rf $RPM_BUILD_ROOT/usr/include/scsi