aboutsummaryrefslogtreecommitdiffhomepage
path: root/gRPC-Core.podspec
diff options
context:
space:
mode:
authorGravatar Muxi Yan <muxi@users.noreply.github.com>2018-03-11 23:36:08 -0700
committerGravatar GitHub <noreply@github.com>2018-03-11 23:36:08 -0700
commitec154f6f2de6461e712b7679ebe96035469d46d0 (patch)
treeeccd7595ecd7ac6b4853185c4b3c4e49e25f3c44 /gRPC-Core.podspec
parent12136821220a671bb9d6443b69817babf2f5c254 (diff)
parent40beafa2ee8797399748d9aef0b2df79c4e3645a (diff)
Merge pull request #14642 from MrMage/avoid-running-sed-on-backups
Podspec: Avoid running `sed` on the backup files it created itself
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 7f61719cb1..72020d2d10 100644
--- a/gRPC-Core.podspec
+++ b/gRPC-Core.podspec
@@ -1209,6 +1209,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