From bcc608f3fdee8a7d6258d87ee41ff72601a6026a Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Tue, 2 Jan 2007 05:02:01 +0000 Subject: Fixed a bug in website generation, which only worked if 'pandoc' and the wrappers had been installed. git-svn-id: https://pandoc.googlecode.com/svn/trunk@402 788f1e2b-df1e-0410-8736-df70ead52e1b --- web/mkdemos.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'web/mkdemos.sh') diff --git a/web/mkdemos.sh b/web/mkdemos.sh index b3e344413..11628bb04 100644 --- a/web/mkdemos.sh +++ b/web/mkdemos.sh @@ -27,7 +27,6 @@ set -- $EXAMPLES IFS=$oldifs cd $DEST -PATH=$PROGPATH:$PATH echo '% Pandoc examples @@ -44,6 +43,6 @@ for command in "$@"; do output=$(echo $command | sed -e 's/.*-o \(.*\)/\1/') echo "1. $firstpart $input -o $output" echo $command >&2 - result=$($command) # run the command and create output file + result=$(PATH=$PROGPATH:$PATH $command) # run the command and create output file done -- cgit v1.2.3