From: Andrew Schoen Date: Tue, 9 Aug 2016 15:39:10 +0000 (-0500) Subject: ceph-dev-build: the build scripts need to start in $WORKSPACE X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a82791027aa2ba31dc5b613d0fe85ea836e5c45c;p=ceph-build.git ceph-dev-build: the build scripts need to start in $WORKSPACE Signed-off-by: Andrew Schoen --- diff --git a/ceph-dev-build/build/build_deb b/ceph-dev-build/build/build_deb index 341d9b9d..bd49e5ab 100644 --- a/ceph-dev-build/build/build_deb +++ b/ceph-dev-build/build/build_deb @@ -6,6 +6,8 @@ if test -f /etc/redhat-release ; then exit 0 fi +cd $WORKSPACE + get_bptag() { dist=$1 diff --git a/ceph-dev-build/build/build_rpm b/ceph-dev-build/build/build_rpm index de981ecb..ce14a742 100644 --- a/ceph-dev-build/build/build_rpm +++ b/ceph-dev-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