]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
remove cd to build
authorAlfredo Deza <adeza@redhat.com>
Mon, 9 Feb 2015 14:26:24 +0000 (09:26 -0500)
committerAlfredo Deza <adeza@redhat.com>
Mon, 9 Feb 2015 14:26:48 +0000 (09:26 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit f4c8c4ad732ddd05786b000083c1fcefaed8cef7)

radosgw-agent/build/build

index 05c252bec9c524673645bd3d01b3af94019d3e0c..efd16142ade032503672cebefcecfe10e74bbde0 100644 (file)
@@ -13,10 +13,11 @@ echo "  BPTAG=${BPTAG}"
 echo "  KEYID=${KEYID}"
 echo "  WS=$WORKSPACE"
 echo "  PWD=$(pwd)"
+ls -l
 
 case $HOST in
 *rpm*)
-        cd build
+        #cd build
         rm -rf ./dist  # Remove any previous artifacts
         mkdir -p $WORKSPACE/dist/noarch
         mkdir -p $WORKSPACE/dist/SRPMS
@@ -34,7 +35,7 @@ case $HOST in
             fi
         else
             python setup.py clean
-            python setup.py sdist --formats=gztar 
+            python setup.py sdist --formats=gztar
             rpmdev-setuptree
             rpmdev-wipetree
             cp -avf ./dist/*.gz $HOME/rpmbuild/SOURCES
@@ -48,7 +49,7 @@ case $HOST in
         fi
         ;;
 *deb* | tala*)
-        cd build
+        #cd build
         DEB_VERSION=$(dpkg-parsechangelog | sed -rne 's,^Version: (.*),\1, p')
         BP_VERSION=${DEB_VERSION}${BPTAG}
         DEBEMAIL="sandon@inktank.com" dch -D $DIST --force-distribution -b -v "$BP_VERSION" "$comment"