Quote wildcard argument in "find" command
This commit is contained in:
parent
917df98703
commit
8b813d3c54
@ -1732,7 +1732,7 @@ find $RPM_BUILD_ROOT/usr/include \
|
|||||||
\( -name .install -o -name .check -o \
|
\( -name .install -o -name .check -o \
|
||||||
-name ..install.cmd -o -name ..check.cmd \) | xargs rm -f
|
-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
|
# glibc provides scsi headers for itself, for now
|
||||||
rm -rf $RPM_BUILD_ROOT/usr/include/scsi
|
rm -rf $RPM_BUILD_ROOT/usr/include/scsi
|
||||||
|
Loading…
Reference in New Issue
Block a user