Revision 3b61a062

b/fabfile.py
200 200

  
201 201
def builddeb(p, master="master", branch="debian-0.8"):
202 202
    with co(branch):
203
        info("Building debian package for %s" % p)
203 204
        with lcd(package_root(p)):
204 205
            local("git merge master")
205 206
            local("if [ ! -d .git ]; then mkdir .git; fi")
......
210 211
                   (master, branch, "" if env.signdebs else "-us -uc"))
211 212
            local("rm -rf .git")
212 213
            local("git reset synnefo/versions/*.py")
214
        info("Done building debian package for %s" % p)
213 215

  
214 216

  
215 217
def builddeball(b="debian-0.8"):
216 218
    for p in env.deb_packages:
217 219
        builddeb(p, b)
218
    collectdebs()
219 220

  
220 221

  
221
def collectdebs():
222
    build_area = env.get('build_area', '../build-area')
223
    for p in env.deb_packages:
224
        local("cp %s/%s*.deb ./packages/" % (build_area, p))
225

  
226 222
@roles('pypi')
227 223
def uploadtars():
228 224
    put("packages/*.tar.gz", 'www/pypi/')
229

  

Also available in: Unified diff