From: Alfredo Deza Date: Wed, 14 Jun 2017 18:17:34 +0000 (-0400) Subject: ceph-lvm-docs: define BRANCH to sync it to the right dir X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=adba2bfd8806d04d260be213d1efc556a7eb6e13;p=ceph-build.git ceph-lvm-docs: define BRANCH to sync it to the right dir Signed-off-by: Alfredo Deza --- diff --git a/ceph-lvm-docs/build/build b/ceph-lvm-docs/build/build index 187fee4b..8fb1480c 100644 --- a/ceph-lvm-docs/build/build +++ b/ceph-lvm-docs/build/build @@ -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