aboutsummaryrefslogtreecommitdiffhomepage
path: root/gRPC-Core.podspec
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-09-20 16:13:16 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-09-20 16:13:16 -0700
commitf511f247dd32bdba21bc5313343fd58b97bf02a3 (patch)
treebd92780372df499f4567681a7b17fdc4fd61f8ef /gRPC-Core.podspec
parent3f4fef6116bb3e9b749792f90afdc3edb8d84770 (diff)
bug fix
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 e3914df9f7..0428420049 100644
--- a/gRPC-Core.podspec
+++ b/gRPC-Core.podspec
@@ -1307,6 +1307,6 @@ Pod::Spec.new do |s|
s.prepare_command = <<-END_OF_COMMAND
find src/core/ -type f ! -path '*.grpc_back' -print0 | xargs -0 -L1 sed -E -i'.grpc_back' 's;#include "(pb(_.*)?\\.h)";#include <nanopb/\\1>;g'
find src/core/ -type f -path '*.grpc_back' -print0 | xargs -0 rm
- find src/core/ -type f -path '*.h' -or -path '*.cc' -print0 | xargs -0 -L1 sed -E -i'.grpc_back' 's;#include <openssl/;#include <openssl_grpc/;g'
+ find src/core/ -type f \\( -path '*.h' -or -path '*.cc' \\) -print0 | xargs -0 -L1 sed -E -i'.grpc_back' 's;#include <openssl/;#include <openssl_grpc/;g'
END_OF_COMMAND
end