]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-build: cd to WORKSPACE when building RPMs 440/head
authorAlfredo Deza <adeza@redhat.com>
Thu, 25 Aug 2016 23:50:10 +0000 (19:50 -0400)
committerAlfredo Deza <adeza@redhat.com>
Thu, 25 Aug 2016 23:50:10 +0000 (19:50 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-build/build/build_rpm

index 16e6be4d87ef2374fc608f97faf72fa481905081..c26d01c769437911abf1c6fc85cb4ebdf665c25f 100644 (file)
@@ -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