Podspec: Avoid running `sed` on the backup files it created itself.

See #14457 for details.
pull/14642/head
Daniel Alm 7 years ago
parent 632ddf745e
commit 1450fd5ee0
  1. 2
      gRPC-Core.podspec

@ -1115,6 +1115,6 @@ Pod::Spec.new do |s|
# TODO (mxyan): Instead of this hack, add include path "third_party" to C core's include path?
s.prepare_command = <<-END_OF_COMMAND
find src/core/ -type f -exec sed -E -i'.back' 's;#include "third_party/nanopb/(.*)";#include <nanopb/\\1>;g' {} \\\;
find src/core/ -type f ! -path '*.back*' -exec sed -E -i'.back' 's;#include "third_party/nanopb/(.*)";#include <nanopb/\\1>;g' {} \\\;
END_OF_COMMAND
end

Loading…
Cancel
Save