Permalink
Browse files

Fix path issues

  • Loading branch information...
1 parent 8de69da commit d9eae43e6eed7f4921cd671fb2977a5f0d796a10 @cbonte committed May 26, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 tools/generate-docs.sh
View
8 tools/generate-docs.sh
@@ -95,16 +95,16 @@ cd $PROJECT_HOME
if [ "$force" == 1 -o "$updated" == "1" -o "$updated14" == "1" ];
then
echo "Generating documentation for HAProxy 1.4..."
- cd master || exit 1
- ./haproxy-dconv.py -i ../haproxy/1.4-dev/doc/configuration.txt -o ../gh-pages/configuration-1.4.html
+ cd $WORK_DIR/haproxy-dconv/master || exit 1
+ ./haproxy-dconv.py -i $WORK_DIR/haproxy/1.4/doc/configuration.txt -o ../gh-pages/configuration-1.4.html
cd $PROJECT_HOME
fi
if [ "$force" == 1 -o "$updated" == "1" -o "$updated15" == "1" ];
then
echo "Generating documentation for HAProxy 1.5..."
- cd master || exit 1
- ./haproxy-dconv.py -i ../haproxy/1.5-dev/doc/configuration.txt -o ../gh-pages/configuration-1.5.html
+ cd $WORK_DIR/haproxy-dconv/master || exit 1
+ ./haproxy-dconv.py -i $WORK_DIR/haproxy/1.5/doc/configuration.txt -o ../gh-pages/configuration-1.5.html
cd $PROJECT_HOME
fi

0 comments on commit d9eae43

Please sign in to comment.