From 6b4d5577fc89fc08567ac8c2a1955c945a472579 Mon Sep 17 00:00:00 2001 From: Jan Vcelak <jan.vcelak@nic.cz> Date: Mon, 20 Apr 2015 15:34:37 +0200 Subject: [PATCH] update-man.sh: allow execution outside the scripts dir --- scripts/update-man.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/update-man.sh b/scripts/update-man.sh index 9e81d805de..5b3484b731 100755 --- a/scripts/update-man.sh +++ b/scripts/update-man.sh @@ -7,7 +7,7 @@ # 3. Replaces version placeholders # -pushd ../doc +pushd "$(dirname "$(readlink -e "$0")")/../doc" make man @@ -20,4 +20,3 @@ for f in ./_build/man/*; do done popd - -- GitLab