issuu / ocaml-protoc-plugin

ocaml-protoc-plugin
https://issuu.github.io/ocaml-protoc-plugin/
Other
48 stars 19 forks source link

Use `run` not to depend on the system shell #41

Closed Nymphium closed 1 year ago

Nymphium commented 1 year ago

When using system in action clause, it runs /path/to/bin/sh -c 'pkg-config protobuf --variable=includedir'. This PR changes to run pkg-config directly (/path/to/bin/pkg-config protobuf --variable=includedir) on the current PATH.