make website: output newline on macOS' sed

This commit is contained in:
Thaddee Tyl 2016-08-09 19:11:01 +02:00
parent 68b26e32d9
commit 89401b13af

View File

@ -8,7 +8,7 @@ website:
| sed "s,\(<img src='\)\(/[^'\?]\+\?[^']\+\)',\1https://img.shields.io\2\&maxAge=2592000'," \
| sed "s,<span id='imgUrlPrefix'>,&https://img.shields.io," \
| sed "s,var origin = '';,var origin = 'https://img.shields.io';," \
| sed "s,<style>,<!-- WARNING: THIS FILE WAS GENERATED FROM try.html -->\n<style>," > index.html
| sed "s,<style>,<!-- WARNING: THIS FILE WAS GENERATED FROM try.html -->\\"$$'\n'"<style>," > index.html
deploy: deploy-s0 deploy-s1 deploy-gh-pages