From e01ca7731394b135672e94e31d38a493fc17da24 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 2 Nov 2018 17:22:56 -0700 Subject: grofftest.sh - set resource path more appropriately. --- test/grofftest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/grofftest.sh') diff --git a/test/grofftest.sh b/test/grofftest.sh index 8c7240aa7..ac652112b 100644 --- a/test/grofftest.sh +++ b/test/grofftest.sh @@ -22,5 +22,5 @@ $PANDOC --version > /dev/null || { echo "pandoc executable error" >&2 ; exit 1 ; for f in `find "$DIR" -name '*.[0-9]'`; do ( iconv -f utf8 -t utf8 $f 2>/dev/null || iconv -f latin1 -t utf8 $f ) | \ - $PANDOC --resource-path "$DIR":. -f man -o /dev/null || echo "Failed to convert $f" + $PANDOC --resource-path "$DIR":"$(dirname $f)" -f man -o /dev/null || echo "Failed to convert $f" done -- cgit v1.2.3