google / jsinterop-base

Utilities for GWT and J2CL to interact with JavaScript beyond JsInterop
Apache License 2.0
67 stars 16 forks source link

Provide an empty prefix to sed so the command works in BSD sed #8

Closed niloc132 closed 5 years ago

niloc132 commented 5 years ago

The BSD build of sed expects that the next string is an argument, and this sed operation fails with

sed: 1: "java/jsinterop/base/Any ...": invalid command code j

It is my understanding that this change should be compatible on both linux and os x this way, tested on both platforms via bazel build //java/... (though Java >8 was required on linux).