Makefile: allow tarball upload when either BB_BRANCH=='trunk' or BB_BRANCH==''.
authordavid-sarah <david-sarah@jacaranda.org>
Sat, 15 Jan 2011 21:22:11 +0000 (13:22 -0800)
committerdavid-sarah <david-sarah@jacaranda.org>
Sat, 15 Jan 2011 21:22:11 +0000 (13:22 -0800)
Makefile

index 809067cddafeaed716b0f1d8178f335459e2e94d..9096215d0eb6b10c20151ad24068e5ca91e772b3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -289,7 +289,7 @@ tarballs:
        $(PYTHON) setup.py sdist --sumo --formats=bztar,gztar,zip
 
 upload-tarballs:
-       @if [ "X${BB_BRANCH}" == "Xtrunk" ]; then for f in dist/allmydata-tahoe-*; do flappclient --furlfile ~/.tahoe-tarball-upload.furl upload-file $$f; done ; else echo not uploading tarballs because this is not trunk but is branch \"${BB_BRANCH}\" ; fi
+       @if [ "X${BB_BRANCH}" == "Xtrunk" ] || [ "X${BB_BRANCH}" == "X" ]; then for f in dist/allmydata-tahoe-*; do flappclient --furlfile ~/.tahoe-tarball-upload.furl upload-file $$f; done ; else echo not uploading tarballs because this is not trunk but is branch \"${BB_BRANCH}\" ; fi
 
 # DEBIAN PACKAGING