aboutsummaryrefslogtreecommitdiffhomepage
path: root/gRPC-Core.podspec
diff options
context:
space:
mode:
authorGravatar Daniel Alm <Daniel.Alm@ForumD.net>2018-03-08 09:32:07 +0100
committerGravatar Daniel Alm <Daniel.Alm@ForumD.net>2018-03-08 09:32:07 +0100
commit1450fd5ee0ed9255960b17175f65b583af3ca540 (patch)
tree741efea169e9f6061f5acaf941e2a5ab6b235581 /gRPC-Core.podspec
parent632ddf745efe9936f393431bcea6e9a12c48b467 (diff)
Podspec: Avoid running `sed` on the backup files it created itself.
See #14457 for details.
Diffstat (limited to 'gRPC-Core.podspec')
-rw-r--r--gRPC-Core.podspec2
1 files changed, 1 insertions, 1 deletions
diff --git a/gRPC-Core.podspec b/gRPC-Core.podspec
index 6c6c76991c..df1d23749b 100644
--- a/gRPC-Core.podspec
+++ b/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