Fixed manpage script

develop
tastytea 2019-01-21 00:01:29 +01:00
parent 032dc9f644
commit dc33ae0a54
No known key found for this signature in database
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
if [[ -n "${1}" ]]; then if [ -n "${1}" ]; then
dir="$(dirname ${0})" dir="$(dirname ${0})"
cp -vf ${dir}/whyblocked.1.adoc . cp -vf ${dir}/whyblocked.1.adoc .
sed -Ei "s/(Revision: +)[0-9]+\.[0-9]\.[0-9]/\1${1}/" whyblocked.1.adoc sed -Ei "s/(Revision: +)[0-9]+\.[0-9]\.[0-9]/\1${1}/" whyblocked.1.adoc