Install-Guide: Fix script
Fix two bugs: * venv is used but not set, set it properly. * content is in install-guide, not doc directory, fix pasto. Change-Id: I1a14290edb7b552eac9e926b1d1fcb3c80a0996a
This commit is contained in:
parent
07eb268c2e
commit
36eedb4116
@ -5,7 +5,8 @@
|
||||
# directory, stable/X will be published to the X directory. For
|
||||
# example stable/newton documents will life in the newton directory.
|
||||
|
||||
tox -e install-guide
|
||||
venv=install-guide
|
||||
tox -e $venv
|
||||
result=$?
|
||||
|
||||
[ -e .tox/$venv/bin/pbr ] && freezecmd=pbr || freezecmd=pip
|
||||
@ -36,8 +37,8 @@ fi
|
||||
if [ ! -z $TARGET ] ; then
|
||||
# Move the docs into subdir based on branch
|
||||
mkdir install-guide/build/$TARGET
|
||||
mv doc/build/html/* doc/build/$TARGET
|
||||
mv doc/build/$TARGET doc/build/html/$TARGET
|
||||
mv install-guide/build/html/* install-guide/build/$TARGET
|
||||
mv install-guide/build/$TARGET install-guide/build/html/$TARGET
|
||||
fi
|
||||
|
||||
exit $result
|
||||
|
Loading…
Reference in New Issue
Block a user