using line-buffering option in sed filter for travis CI

tip from:
https://stackoverflow.com/questions/49661118/lengthy-piped-command-output-hangs-when-passed-to-sed-or-awk
This commit is contained in:
Thomas Ferreira de Lima 2018-07-31 18:44:04 -04:00
parent a834fd281d
commit 0945f7c914
No known key found for this signature in database
GPG Key ID: 43E98870EAA0A86E
1 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,3 @@
filter () {
sed -E 's/^\/Applications\/Xcode.app\/Contents\/Developer\/Toolchains\/XcodeDefault\.xctoolchain\/usr\/bin\/clang\+\+ -c[[:space:]]+([^[:space:]]+[[:space:]]+)*/Compiling \1/'
sed -lE 's/^\/Applications\/Xcode.app\/Contents\/Developer\/Toolchains\/XcodeDefault\.xctoolchain\/usr\/bin\/clang\+\+ -c[[:space:]]+([^[:space:]]+[[:space:]]+)*/Compiling \1/'
}