]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-lvm-docs: use utility to trim branch slashes 742/head
authorAlfredo Deza <adeza@redhat.com>
Wed, 14 Jun 2017 19:26:39 +0000 (15:26 -0400)
committerAlfredo Deza <adeza@redhat.com>
Wed, 14 Jun 2017 19:26:39 +0000 (15:26 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-lvm-docs/build/build

index 8fb1480c6a13bc24bb50dd3fad2827c942ed1375..f5edbcc0e82e0192f38e23694cd3276f7d1e4ef1 100644 (file)
@@ -7,7 +7,7 @@ pkgs=( "tox" )
 install_python_packages "pkgs[@]"
 
 # trims leading slashes
-BRANCH=${GIT_BRANCH#*/}
+BRANCH=`branch_slash_filter ${GIT_BRANCH}`
 
 # create the docs build with tox
 $VENV/tox -rv -e docs