2019-01-20 17:31:58 -05:00
|
|
|
#!/bin/sh
|
|
|
|
|
2019-01-20 18:01:29 -05:00
|
|
|
if [ -n "${1}" ]; then
|
2019-01-20 17:31:58 -05:00
|
|
|
dir="$(dirname ${0})"
|
|
|
|
cp -vf ${dir}/whyblocked.1.adoc .
|
|
|
|
sed -Ei "s/(Revision: +)[0-9]+\.[0-9]\.[0-9]/\1${1}/" whyblocked.1.adoc
|
|
|
|
a2x --doctype manpage --format manpage --no-xmllint whyblocked.1.adoc
|
|
|
|
else
|
|
|
|
echo "usage: ${0} VERSION" >&2
|
|
|
|
fi
|