]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: sed escape
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Sun, 23 Feb 2020 13:22:50 +0000 (14:22 +0100)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Sun, 23 Feb 2020 13:22:50 +0000 (14:22 +0100)
.github/workflows/coverage.yml

index c8de4d8eeac58d6c2f8e9df37ac4c163bf505e23..e942e08b8941cb55443e242663648616e567ebdb 100644 (file)
@@ -48,7 +48,7 @@ jobs:
         COV_TXT=$(gcovr -s --html-details index.html --html-title "Gwion coverage report" --filter '.*\.c$' src | grep lines | cut -d" " -f2)
         COV_NUM=${COV_TXT: : -1}
         echo $COV_NUM > gwion-coverage-report/coverage_num.txt
-        sed -i 's/<html>/<script type="text\/javascript" src="../focus.js"><\/script><html>/' index.src_*.html
+        sed -i 's/<html>/<script type="text\/javascript" src="..\/focus.js"><\/script><html>/' index.src_*.html
         branch=$(basename ${{ github.event.ref }})
         cd gwion-coverage-report/
         bash old.sh $branch