Quote wildcard argument in "find" command

This commit is contained in:
Michael Young 2010-10-30 23:02:42 +01:00 committed by Kyle McMartin
parent 4019ed3efe
commit f8eb8d89fb

View File

@ -1680,7 +1680,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