aboutsummaryrefslogtreecommitdiff
path: root/www/publish.sh
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-04-02 10:19:14 -0700
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-04-02 10:19:14 -0700
commit7365f4143c4c5a0e836dcd62328e58762fdcff8a (patch)
tree466b694083f1f28f25665eb6f048ec0a5fc23c8f /www/publish.sh
parent5f4f550c3b3859a08a1b46d9d5e6caaaa40cc632 (diff)
downloadlibrebootfr-7365f4143c4c5a0e836dcd62328e58762fdcff8a.tar.gz
librebootfr-7365f4143c4c5a0e836dcd62328e58762fdcff8a.zip
Open Letter to the Free Software Community
Diffstat (limited to 'www/publish.sh')
-rwxr-xr-xwww/publish.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/www/publish.sh b/www/publish.sh
index 9e973d85..73ff8912 100755
--- a/www/publish.sh
+++ b/www/publish.sh
@@ -15,9 +15,13 @@ fi
tail -n +5 $FILE.md >> temp.md
# add license notice where applicable
-if [[ ${FILE} != "docs*" ]] ; then
- cat license.md >> temp.md
-fi
+# TODO: make this less intrusive
+#if [[ ${FILE} != "docs*" ]] ; then
+# cat license.md >> temp.md
+#fi
+
+# add unity text in
+sed temp.md -i -e "/%%UNITYLETTER%%/r unity.md" -e "s/%%UNITYLETTER%%//"
# change out .md -> .html
sed temp.md -i -e 's/\.md\(#[a-z\-]*\)*)/.html\1)/g'