From: Alfredo Deza Date: Thu, 25 Aug 2016 23:50:10 +0000 (-0400) Subject: ceph-build: cd to WORKSPACE when building RPMs X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F440%2Fhead;p=ceph-build.git ceph-build: cd to WORKSPACE when building RPMs Signed-off-by: Alfredo Deza --- diff --git a/ceph-build/build/build_rpm b/ceph-build/build/build_rpm index 16e6be4d..c26d01c7 100644 --- a/ceph-build/build/build_rpm +++ b/ceph-build/build/build_rpm @@ -5,6 +5,8 @@ if [[ ! -f /etc/redhat-release && ! -f /usr/bin/zypper ]] ; then exit 0 fi +cd "$WORKSPACE" + get_rpm_dist() { LSB_RELEASE=/usr/bin/lsb_release [ ! -x $LSB_RELEASE ] && echo unknown && exit