Skip to content

Commit 18d64fc

Browse files
committed
Update sed command to modify multiple files
1 parent 959d90f commit 18d64fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/ReactantExtra/WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ echo "+#elif defined(__NVCC__) || (!defined(__linux__) && !defined(__ANDROID__)
6363
echo "" >> third_party/proto.patch
6464
echo " #ifndef bswap_16" >> third_party/proto.patch
6565
echo " static inline uint16_t bswap_16(uint16_t x) {" >> third_party/proto.patch
66-
sed -i.bak0 "s/protobuf.patch\\"/protobuf.patch\\", \\":proto.patch\\"/g" workspace2.bzl
66+
sed -i.bak0 "s/protobuf.patch\\"/protobuf.patch\\", \\":proto.patch\\"/g" workspace2.bzl third_party/py/python_init_rules.bzl
6767
""",
6868
"""
6969
sed -i.bak0 "s/def main():/def main():\\n if TMPDIR: os.environ['TMPDIR'] = TMPDIR/g" third_party/gpus/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc.tpl

0 commit comments

Comments
 (0)