diff options
author | Michael Reed <michael@michaelreed.io> | 2017-07-09 16:02:57 -0400 |
---|---|---|
committer | Michael Reed <michael@michaelreed.io> | 2017-07-09 16:04:59 -0400 |
commit | db74ded167e78a529c3d8cff400509dece239024 (patch) | |
tree | 809d1dfdfb534603ee852e1324df1298c6cc6766 | |
parent | e07fe644fb9d1cadb137a57d6aad836cfd6bef83 (diff) | |
download | librebootfr-db74ded167e78a529c3d8cff400509dece239024.tar.gz librebootfr-db74ded167e78a529c3d8cff400509dece239024.zip |
docs/index.sh: Fix sed(1) invocation on OpenBSD
This is the same idea as 497a49162f7c8b5c1d7c653087b0ac6c8e5765f9.
Without this patch, the following errors occur when running index.sh:
sed: 1: "news/new-mailing-lists. ...: extra characters at the end of n command
sed: 1: "news/andrew-robbins-new ...: extra characters at the end of n command
sed: 1: "news/formalised-structu ...: extra characters at the end of n command
sed: 1: "news/proposal-rejoin-gn ...: extra characters at the end of n command
sed: 1: "news/unity.bare.html": extra characters at the end of n command
-rwxr-xr-x | www/index.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/index.sh b/www/index.sh index 18aad44b..4d7d2292 100755 --- a/www/index.sh +++ b/www/index.sh @@ -60,7 +60,7 @@ rss() { for f in $FILES do # render content and escape - desc=$(sed ${f%.md}.bare.html -e 's/</\</g' | sed -e 's/>/\>/g') + desc=$(sed -e 's/</\</g' ${f%.md}.bare.html | sed -e 's/>/\>/g') url="${f%.md}.html" printf '%s\n' '<item>' |