]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-build-next: source the venv in build_deb and build_rpm 183/head
authorAndrew Schoen <aschoen@redhat.com>
Wed, 28 Oct 2015 22:05:11 +0000 (17:05 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Wed, 28 Oct 2015 22:05:44 +0000 (17:05 -0500)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-build-next/build/build_deb
ceph-build-next/build/build_rpm

index 44ca826e83bf81f51a9b1bd67dc336b919784d86..c48d3407b6d7a54f1617905554b4916195733b4f 100644 (file)
@@ -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
index 90373d5fa4ccac35a484913b3f5f696f9f5e4d23..bc80048edcc4ce11357df7472ce2fffaa181ad44 100644 (file)
@@ -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