Skip to content

Commit

Permalink
Replace sed with perl in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
miltalex authored and teo committed Jan 6, 2021
1 parent 7c9b784 commit b55d1ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ vendor:
# we insert a go_package specification into the ODC protofile right
# after we download it.
@echo -e "\033[1;33mpatch odc.proto\033[0m"
@sed -i '/^package/a option go_package = "odcprotos;odc";' odcshim/odcprotos/odc.proto
@perl -pi -e '$$_.="option go_package = \"odcprotos;odc\";\n" if (/^package/)' odcshim/odcprotos/odc.proto

# vendor: tools/dep
# @echo -e "\033[1;33mdep ensure\033[0m"
Expand Down

0 comments on commit b55d1ce

Please sign in to comment.