diff options
author | David Robillard <d@drobilla.net> | 2010-10-28 00:09:00 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-10-28 00:09:00 +0000 |
commit | 57767bfb4678c606c1ffaf0456747f441c26203f (patch) | |
tree | 345af83a07a3b9581220790065aa367da2967a71 /gendoc.py | |
parent | f94c84b241fc86b25babb12fabb98fe0e483ba27 (diff) | |
download | lv2-57767bfb4678c606c1ffaf0456747f441c26203f.tar.xz |
Fix broken extension release tarballs.
Diffstat (limited to 'gendoc.py')
-rwxr-xr-x | gendoc.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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)): |