From 94e871396a6cf98d669873b7419c364c5f149ebb Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Tue, 17 Nov 2015 12:48:24 -0600 Subject: [PATCH] ceph-release-rpm: use check_binary_existence from build_utils Signed-off-by: Andrew Schoen --- ceph-release-rpm/build/build | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ceph-release-rpm/build/build b/ceph-release-rpm/build/build index 0479a538..6209019e 100644 --- a/ceph-release-rpm/build/build +++ b/ceph-release-rpm/build/build @@ -37,13 +37,7 @@ if [ "$target" = "sles11sp2" ] ; then fi echo "Target directory is: $target" -$VENV/chacractl exists binaries/${chacra_baseurl}/${ARCH}; exists=$? || true - -# if the binary already exists in chacra, do not rebuild -if [ $exists -eq 0 ] && [ "$FORCE" = false ]; then - echo "The endpoint at ${chacra_baseurl}/${ARCH} already exists and FORCE was not set, Exiting..." - exit 0 -fi +check_binary_existence $chacra_baseurl/$ARCH # setup rpm build area mkdir -p RPMBUILD/{BUILD,RPMS,SOURCES,SPECS,SRPMS} -- 2.39.5