aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
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 /templates
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 'templates')
-rw-r--r--templates/gRPC-Core.podspec.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/gRPC-Core.podspec.template b/templates/gRPC-Core.podspec.template
index 3e80d602e1..af97d81834 100644
--- a/templates/gRPC-Core.podspec.template
+++ b/templates/gRPC-Core.podspec.template
@@ -202,6 +202,6 @@
# 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