Fix eol in nginx template

This commit is contained in:
Manuel de Brito Fontes 2017-09-07 13:48:36 -03:00
parent 2384ef4675
commit 943ca557fd

View file

@ -5,4 +5,4 @@
# first sed removes empty lines
# second sed command replaces the empty lines
sed -e 's/^ *$/\'$'\n/g' | sed -e '/^$/{N;/^\n$/d;}'
sed -e 's/\r//g' | sed -e 's/^ *$/\'$'\n/g' | sed -e '/^$/{N;/^\n$/d;}'