]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-lvm-docs: define BRANCH to sync it to the right dir
authorAlfredo Deza <adeza@redhat.com>
Wed, 14 Jun 2017 18:17:34 +0000 (14:17 -0400)
committerAlfredo Deza <adeza@redhat.com>
Wed, 14 Jun 2017 18:17:34 +0000 (14:17 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-lvm-docs/build/build

index 187fee4bbfb8b2f98b02dc0896fa892593b89441..8fb1480c6a13bc24bb50dd3fad2827c942ed1375 100644 (file)
@@ -6,6 +6,9 @@ set -ex
 pkgs=( "tox" )
 install_python_packages "pkgs[@]"
 
+# trims leading slashes
+BRANCH=${GIT_BRANCH#*/}
+
 # create the docs build with tox
 $VENV/tox -rv -e docs