diff options
| author | ianb <devnull@localhost> | 2005-04-22 08:01:00 +0000 |
|---|---|---|
| committer | ianb <devnull@localhost> | 2005-04-22 08:01:00 +0000 |
| commit | bb52c2673a82585cb412316b4c41b331ae62af2c (patch) | |
| tree | 9e85d361b1f1a6221fa9ecc4b7e0d9de98cea2af /docs/rebuild | |
| parent | 33067b57214307f4ab6c71bf768abe7cdcaf9477 (diff) | |
| download | paste-bb52c2673a82585cb412316b4c41b331ae62af2c.tar.gz | |
Fix up paths
Diffstat (limited to 'docs/rebuild')
| -rwxr-xr-x | docs/rebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/rebuild b/docs/rebuild index b8bef92..8bbcc02 100755 --- a/docs/rebuild +++ b/docs/rebuild @@ -1,5 +1,10 @@ #!/bin/sh +here=`pwd` +parent=`dirname $here` +echo "Adding $parent to \$PYTHONPATH" +export PYTHONPATH=$parent:$PYTHONPATH + NORMAL="DeveloperGuidelines Paste servers StyleGuide web/index" DOCTEST_BUILD="BlogTutorial TodoTutorial" @@ -18,5 +23,5 @@ for NAME in $DOCTEST_BUILD ; do continue fi echo "Building $NAME." - ../paste/test/doctest_webapp.py "$NAME.txt" + python2.4 ../paste/tests/doctest_webapp.py "$NAME.txt" done |
