diff options
author | Andrew Robbins <contact@andrewrobbins.info> | 2017-07-15 08:54:00 +0000 |
---|---|---|
committer | Gogs <gogitservice@gmail.com> | 2017-07-15 08:54:00 +0000 |
commit | c6eb6b822ca0347b41c60f858e43381bbac2ae9b (patch) | |
tree | aea87940de49ebdb2bc369e87545fab84f46cecb /www | |
parent | 8692bfaf02fd6fffba1e743f1923574f83932853 (diff) | |
parent | fee8d605c7208e222a7e0afb6f0f02e392da6e53 (diff) | |
download | librebootfr-c6eb6b822ca0347b41c60f858e43381bbac2ae9b.tar.gz librebootfr-c6eb6b822ca0347b41c60f858e43381bbac2ae9b.zip |
Merge branch 'fix-publish-sh' of mreed/libreboot into master
Diffstat (limited to 'www')
-rwxr-xr-x | www/publish.sh | 5 |
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 |