Fixed manpage script
parent
032dc9f644
commit
dc33ae0a54
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue