From a82791027aa2ba31dc5b613d0fe85ea836e5c45c Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Tue, 9 Aug 2016 10:39:10 -0500 Subject: [PATCH] ceph-dev-build: the build scripts need to start in $WORKSPACE Signed-off-by: Andrew Schoen --- ceph-dev-build/build/build_deb | 2 ++ ceph-dev-build/build/build_rpm | 2 ++ 2 files changed, 4 insertions(+) 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 -- 2.39.5