diff options
author | Muxi Yan <muxi@users.noreply.github.com> | 2018-03-11 23:36:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-11 23:36:08 -0700 |
commit | ec154f6f2de6461e712b7679ebe96035469d46d0 (patch) | |
tree | eccd7595ecd7ac6b4853185c4b3c4e49e25f3c44 /templates | |
parent | 12136821220a671bb9d6443b69817babf2f5c254 (diff) | |
parent | 40beafa2ee8797399748d9aef0b2df79c4e3645a (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.template | 2 |
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 |