From 36eedb411635ce5cb842f88c78e3c8689cecbc21 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 12 Jun 2016 19:56:03 +0200 Subject: [PATCH] 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 --- jenkins/scripts/run-install-guide.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/jenkins/scripts/run-install-guide.sh b/jenkins/scripts/run-install-guide.sh index c2a17c3485..a398c63b94 100755 --- a/jenkins/scripts/run-install-guide.sh +++ b/jenkins/scripts/run-install-guide.sh @@ -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