aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-01-02 05:02:01 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-01-02 05:02:01 +0000
commitbcc608f3fdee8a7d6258d87ee41ff72601a6026a (patch)
tree212acbdbbe70a8b8025d15fa4e9c54f76b6536cf /web
parent339fcbbb4642014426c94381bdacfa2fe2326536 (diff)
downloadpandoc-bcc608f3fdee8a7d6258d87ee41ff72601a6026a.tar.gz
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
Diffstat (limited to 'web')
-rw-r--r--web/mkdemos.sh3
1 files changed, 1 insertions, 2 deletions
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. <code>$firstpart <a href=\""$input"\" title=\""View input file"\">$input</a> -o <a href=\""$output"\" title=\""View pandoc output"\">$output</a></code>"
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