grofftest.sh - set resource path more appropriately.
commite01ca7731394b135672e94e31d38a493fc17da24
authorJohn MacFarlane <jgm@berkeley.edu>
dateFri 2 Nov 2018, 17:22 (8 years ago)
parentc71fbb1
test/grofftest.sh+1−1
@@ -22,5 +22,5 @@ $PANDOC --version > /dev/null || { echo "pandoc executable error" >&2 ; exit 1 ;
2222
2323for f in `find "$DIR" -name '*.[0-9]'`; do
2424 ( iconv -f utf8 -t utf8 $f 2>/dev/null || iconv -f latin1 -t utf8 $f ) | \
25− $PANDOC --resource-path "$DIR":. -f man -o /dev/null || echo "Failed to convert $f"
25+ $PANDOC --resource-path "$DIR":"$(dirname $f)" -f man -o /dev/null || echo "Failed to convert $f"
2626done