aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2017-07-15 08:54:00 +0000
committerGogs <gogitservice@gmail.com>2017-07-15 08:54:00 +0000
commitc6eb6b822ca0347b41c60f858e43381bbac2ae9b (patch)
treeaea87940de49ebdb2bc369e87545fab84f46cecb /www
parent8692bfaf02fd6fffba1e743f1923574f83932853 (diff)
parentfee8d605c7208e222a7e0afb6f0f02e392da6e53 (diff)
downloadlibrebootfr-c6eb6b822ca0347b41c60f858e43381bbac2ae9b.tar.gz
librebootfr-c6eb6b822ca0347b41c60f858e43381bbac2ae9b.zip
Merge branch 'fix-publish-sh' of mreed/libreboot into master
Diffstat (limited to 'www')
-rwxr-xr-xwww/publish.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/publish.sh b/www/publish.sh
index 8e25d920..f9d9f9a7 100755
--- a/www/publish.sh
+++ b/www/publish.sh
@@ -70,7 +70,10 @@ TOC=$(grep -q "^x-toc-enable: true$" "$TMPFILE" && printf '%s\n' "--toc --toc-de
SMART=$(pandoc -v | grep -q '2\.0' || printf '%s\n' "--smart") || SMART=""
# chuck through pandoc
-pandoc $TOC $SMART "$TMPFILE" -s --css /global.css "$OPTS" \
+#
+# $OPTS must not be quoted, otherwise pandoc interprets '--css /headercenter.css'
+# as one argument, when it is actually two.
+pandoc $TOC $SMART "$TMPFILE" -s --css /global.css $OPTS \
--template template.html --metadata return="$RETURN" > "$FILE.html"
# additionally, produce bare file for RSS