aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-10-28 00:09:00 +0000
committerDavid Robillard <d@drobilla.net>2010-10-28 00:09:00 +0000
commit57767bfb4678c606c1ffaf0456747f441c26203f (patch)
tree345af83a07a3b9581220790065aa367da2967a71
parentf94c84b241fc86b25babb12fabb98fe0e483ba27 (diff)
downloadlv2-57767bfb4678c606c1ffaf0456747f441c26203f.tar.xz
Fix broken extension release tarballs.
-rwxr-xr-xgendoc.py5
1 files 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)):