aboutsummaryrefslogtreecommitdiff
path: root/web/mkdemos.sh
diff options
context:
space:
mode:
Diffstat (limited to 'web/mkdemos.sh')
-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