From dc90a36735653c3ed314e96d48a0b9398c4f2c89 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Wed, 20 Feb 2019 20:07:32 -0500 Subject: Use $PWD in html.sh to pass absolute path to man --- bin/html.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/html.sh') diff --git a/bin/html.sh b/bin/html.sh index 3179c4b7..8cf05866 100644 --- a/bin/html.sh +++ b/bin/html.sh @@ -1,7 +1,7 @@ #!/bin/sh set -eu -readonly GiteaURL=https://code.causal.agency/june/src/src/branch/master/bin +readonly GiteaURL='https://code.causal.agency/june/src/src/branch/master/bin' src=$1 man=${2:-} @@ -10,5 +10,5 @@ man=${2:-} cat <<- EOF ${src} in git EOF -[ -f "${man}" ] && man -P cat "${man}" | ./ttpre +[ -f "${man}" ] && man -P cat "${PWD}/${man}" | ./ttpre ./hi -f html -o anchor "${src}" -- cgit 1.4.1