From 0bea1a68f1b28b9a0985f06c5dc4fb653e9cafb8 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Tue, 27 Oct 2015 12:18:01 -0500 Subject: [PATCH] fix the chacractl exists command It needs the 'repos' or 'binaries' bit of the url as well. Signed-off-by: Andrew Schoen --- ceph-build-next/build/build_deb | 2 +- ceph-build-next/build/build_rpm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ceph-build-next/build/build_deb b/ceph-build-next/build/build_deb index 916fedf1..3a45f647 100644 --- a/ceph-build-next/build/build_deb +++ b/ceph-build-next/build/build_deb @@ -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 diff --git a/ceph-build-next/build/build_rpm b/ceph-build-next/build/build_rpm index 6cce50a5..148c73d2 100644 --- a/ceph-build-next/build/build_rpm +++ b/ceph-build-next/build/build_rpm @@ -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 -- 2.39.5