Commit 8496cbb0 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

algo/test/Makefile: Comply with FreeBSD's sed

GNU sed and POSIX sed have slightly different behaviors.  Those behaviors are
incompatible if we don't specify a “backup” suffix with -i. So we specify such
a suffix and then we move all the files so that they overwrite the original
Moreover in this case, the -e option is necessary for FreeBSD's sed.
parent 410926e3
......@@ -85,7 +85,8 @@ shouldvdj_with_rc_merged:
# When the global test suite is passing, individual failed tests (counted in SHOULD_*_EXPECTED_FAILS)
# can be marked as 'TODO' to make continuous integration happy
-sed "s/^\(not ok [0-9]*\) /\1 # TODO ##/" -i */*.tap
-sed -e "s/^\(not ok [0-9]*\) /\1 # TODO ##/" -i".bak" */*.tap
for file in */*.tap; do mv $$file.bak $$file; done
curatedvdj_archive: $(SHOULD_VDJ_ARCHIVE)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment