diff options
author | Jean-Sébastien Pédron <[email protected]> | 2015-09-07 15:44:08 +0200 |
---|---|---|
committer | Jean-Sébastien Pédron <[email protected]> | 2015-09-07 16:20:32 +0200 |
commit | bbd059ff5af82cea816c17ef58a7cf360e085efc (patch) | |
tree | 979b5cf4e37ac5ee44b69820aa3a17fed0f8c147 /circle.yml | |
parent | b5c61eebdce09f27985db4a44aa13683b75e9c37 (diff) | |
download | erlang.mk-bbd059ff5af82cea816c17ef58a7cf360e085efc.tar.gz erlang.mk-bbd059ff5af82cea816c17ef58a7cf360e085efc.tar.bz2 erlang.mk-bbd059ff5af82cea816c17ef58a7cf360e085efc.zip |
test/Makefile: Support non-GNU sed
This required two changes:
1. Modifying a file inplace using -i is not portable. GNU sed does
not require an argument; the absence of it meaning it should
change the file inplace. sed found on FreeBSD and probably other
BSDs' require an argument, so inplace modification should be
specified as: sed -i ''. Obviously, both -i are incompatible...
The "solution" is to specify a backup suffix and ignore this
backup file.
2. The [1addr]i command takes its argument on the next line
according to the standard (though, it's not explicitely stated,
the syntax example suggests that). GNU sed accepts to have its
argument on the same line as the command, but not FreeBSD's sed.
Diffstat (limited to 'circle.yml')
0 files changed, 0 insertions, 0 deletions