rules_foreign_cc
rules_foreign_cc copied to clipboard
Specify path to sed on MacOS and FreeBSD
The given commands are not portable between BSD sed and GNU sed.
Some users (at least me) have their PATH such that sed resolves to a
sed that is not default for their OS, and then the given command fails.
Note I didn't update windows because I'm not sure if /usr/bin/sed works on Windows and I can't easily test it.