From: Alfredo Deza Date: Mon, 8 Jun 2015 14:11:44 +0000 (-0400) Subject: cd to $WORKSPACE X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F81%2Fhead;p=ceph-build.git cd to $WORKSPACE Otherwise we will fail to be in the right directory to copy the artifacts Signed-off-by: Alfredo Deza --- diff --git a/ceph-build/build/build_rpm b/ceph-build/build/build_rpm index 670bcc399..3df323448 100644 --- a/ceph-build/build/build_rpm +++ b/ceph-build/build/build_rpm @@ -108,6 +108,9 @@ rpmbuild -ba --define "_topdir ${BUILDAREA}" ceph.spec echo done +# Make sure we execute at the top level directory +cd "$WORKSPACE" + #Collect Artifacts mkdir -p dist/rpm/${DIST} mv release/${vers}/rpm/*/SRPMS ./dist/rpm/${DIST}/.