Use xargs --no-run-if-empty to avoid error
Recent Boost releases seem to have no executable headers, so the find command returns no results.
This commit is contained in:
parent
e938c8d9b3
commit
1c4335a6e0
@ -673,7 +673,7 @@ a number of significant features and is now developed independently.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{toplev_dirname}
|
||||
find ./boost -name '*.hpp' -perm /111 | xargs chmod a-x
|
||||
find ./boost -name '*.hpp' -perm /111 | xargs --no-run-if-empty chmod a-x
|
||||
|
||||
%patch15 -p0
|
||||
%patch51 -p1
|
||||
|
Loading…
Reference in New Issue
Block a user