diff options
author | Michael Lumish <mlumish@google.com> | 2015-06-24 08:52:52 -0700 |
---|---|---|
committer | Michael Lumish <mlumish@google.com> | 2015-06-24 08:52:52 -0700 |
commit | 269575ac0e2f8160af07e999a0685c29df422d78 (patch) | |
tree | 178ef025a72ef5fcb27828de7fb68533cd82f8c3 /templates | |
parent | 85bc52e38a5d2b89e66850d83c91c9c1d4969091 (diff) | |
parent | 59bb9d7d5616c4ba722d18e9158db6c966b87129 (diff) |
Merge pull request #2195 from jcanizales/rewrite-grpcclient-includes
Have Cocoapods rename includes in the core wrapper
Diffstat (limited to 'templates')
-rw-r--r-- | templates/gRPC.podspec.template | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/gRPC.podspec.template b/templates/gRPC.podspec.template index b26462f913..b59b553717 100644 --- a/templates/gRPC.podspec.template +++ b/templates/gRPC.podspec.template @@ -114,7 +114,7 @@ Pod::Spec.new do |s| DIR_TIME="grpc/support" BAD_TIME="$DIR_TIME/time.h" GOOD_TIME="$DIR_TIME/grpc_time.h" - grep -rl "$BAD_TIME" grpc src/core | xargs sed -i '' -e s@$BAD_TIME@$GOOD_TIME@g + grep -rl "$BAD_TIME" grpc src/core src/objective-c/GRPCClient | xargs sed -i '' -e s@$BAD_TIME@$GOOD_TIME@g if [ -f "include/$BAD_TIME" ]; then mv -f "include/$BAD_TIME" "include/$GOOD_TIME" @@ -123,7 +123,7 @@ Pod::Spec.new do |s| DIR_STRING="src/core/support" BAD_STRING="$DIR_STRING/string.h" GOOD_STRING="$DIR_STRING/grpc_string.h" - grep -rl "$BAD_STRING" grpc src/core | xargs sed -i '' -e s@$BAD_STRING@$GOOD_STRING@g + grep -rl "$BAD_STRING" grpc src/core src/objective-c/GRPCClient | xargs sed -i '' -e s@$BAD_STRING@$GOOD_STRING@g if [ -f "$BAD_STRING" ]; then mv -f "$BAD_STRING" "$GOOD_STRING" |