]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
fix the chacractl exists command
authorAndrew Schoen <aschoen@redhat.com>
Tue, 27 Oct 2015 17:18:01 +0000 (12:18 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 27 Oct 2015 17:18:01 +0000 (12:18 -0500)
It needs the 'repos' or 'binaries' bit of the url as well.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-build-next/build/build_deb
ceph-build-next/build/build_rpm

index 916fedf16508243bdd962d2618ccf823ed7bb963..3a45f64756205ea5ecc743c25d42870d270e8680 100644 (file)
@@ -11,7 +11,7 @@ vers=`cat ./dist/version`
 distro=`python -c "exec 'import platform; print platform.linux_distribution()[0].lower()'"`
 chacra_endpoint="ceph/${chacra_ref}/${distro}/{$dist}/${ARCH}"
 
-chacractl binary exists ${chacra_endpoint}
+chacractl exists binaries/${chacra_endpoint}
 
 # if the binary already exists in chacra, do not rebuild
 if [ $? -e 0 ] && [ "$FORCE" = false ] ; then
index 6cce50a597a57785fc62dd0db4c8b5f0349e240f..148c73d2a35dd23f9ed8e74d6804673287ab73fa 100644 (file)
@@ -58,7 +58,7 @@ vers=`cat ./dist/version`
 [ "$TEST" = true ] && chacra_ref="$vers" || chacra_ref="test"
 chacra_baseurl="ceph/${chacra_ref}/${DISTRO}/${RELEASE}"
 
-chacractl binary exists ${chacra_baseurl}/${ARCH}
+chacractl exists binaries/${chacra_baseurl}/${ARCH}
 
 # if the binary already exists in chacra, do not rebuild
 if [ $? -e 0 ] && [ "$FORCE" = false ]; then