From 57767bfb4678c606c1ffaf0456747f441c26203f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 28 Oct 2010 00:09:00 +0000 Subject: Fix broken extension release tarballs. --- gendoc.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gendoc.py b/gendoc.py index 00a7cae..603fb39 100755 --- a/gendoc.py +++ b/gendoc.py @@ -108,8 +108,9 @@ SELECT ?rev FROM <%s.lv2/%s.ttl> WHERE { <%s> doap:release [ doap:revision ?rev rev = '0' if rev != '0': - path = os.path.join(release_dir, 'lv2-%s-%s.0.tar.gz' % (b, rev)) - subprocess.call(['tar', '-czf', path, os.path.join(outdir, '%s.lv2' % b)]) + path = os.path.join(os.path.abspath(release_dir), 'lv2-%s-%s.0.tar.gz' % (b, rev)) + subprocess.call(['tar', '--exclude-vcs', '-czf', path, + bundle[bundle.find('/') + 1:]], cwd=dir) specgendir = '../../../../lv2specgen/' if (os.access(outdir + '/%s.lv2/%s.ttl' % (b, b), os.R_OK)): -- cgit v1.2.1