handle escaping in .template correctly

pull/20100/head
Jan Tattermusch 6 years ago
parent b99abf9fdd
commit 1a58f61e33
  1. 2
      templates/src/objective-c/BoringSSL-GRPC.podspec.template

@ -1613,7 +1613,7 @@
# Remove lines of the format "#define SOME_MACRO SOME_MACRO" because they mess up the symbol prefix
sed -i'.back' '/^#define \\([A-Za-z0-9_]*\\) \\1/d' include/openssl/*.h
# Remove lines of the format below because they mess up the symbol prefix
# #define SOME_MACRO \
# #define SOME_MACRO ${"\\"}
# SOME_MACRO
sed -i'.back' '/^#define.*\\\\$/{N;/^#define \\([A-Za-z0-9_]*\\) *\\\\\\n *\\1/d;}' include/openssl/*.h
sed -i'.back' 's/#ifndef md5_block_data_order/#ifndef GRPC_SHADOW_md5_block_data_order/g' crypto/fipsmodule/md5/md5.c

Loading…
Cancel
Save