/
githubmirror
/
mpfr
Обзор
Документация
Войти
/
githubmirror
/
mpfr
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
doc/update-faq
18 строк
477 B
Vincent Lefevre
[doc/update-faq] Ensure that the code is run from the doc directory.
03 окт 2022, 16:58
03 окт 2022, 16:58
e2185e7
Код
Авторство
О чём код?
#!/bin/sh set -e # Set up the right directory cd "$(dirname "$0")" # We cannot use # <!ENTITY styles SYSTEM "https://www.mpfr.org/styles/visual.css"> # in faq.xsl since libxml2 still does not support https! And http # can no longer be used due to HSTS (it is insecure anyway). rm -f visual.css wget --no-config -q https://www.mpfr.org/styles/visual.css wget --no-config -q -O - https://www.mpfr.org/faq.html | \ xsltproc --nodtdattr faq.xsl - > FAQ.html rm visual.css