From: Andrew Schoen Date: Wed, 28 Oct 2015 22:05:11 +0000 (-0500) Subject: ceph-build-next: source the venv in build_deb and build_rpm X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=438cf864092889e41dc92732aa991f29fed0ea97;p=ceph-build.git ceph-build-next: source the venv in build_deb and build_rpm Signed-off-by: Andrew Schoen --- diff --git a/ceph-build-next/build/build_deb b/ceph-build-next/build/build_deb index 44ca826e..c48d3407 100644 --- a/ceph-build-next/build/build_deb +++ b/ceph-build-next/build/build_deb @@ -7,7 +7,7 @@ if test -f /etc/redhat-release ; then fi # activate the virtualenv -$WORKSPACE/venv/bin/activate +source $WORKSPACE/venv/bin/activate get_bptag() { dist=$1 diff --git a/ceph-build-next/build/build_rpm b/ceph-build-next/build/build_rpm index 90373d5f..bc80048e 100644 --- a/ceph-build-next/build/build_rpm +++ b/ceph-build-next/build/build_rpm @@ -6,7 +6,7 @@ if [[ ! -f /etc/redhat-release && ! -f /usr/bin/zypper ]] ; then fi # activate the virtualenv -$WORKSPACE/venv/bin/activate +source $WORKSPACE/venv/bin/activate get_rpm_dist() { LSB_RELEASE=/usr/bin/lsb_release