aboutsummaryrefslogtreecommitdiffstats
path: root/lv2specgen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-07-19 14:16:11 -0400
committerDavid Robillard <d@drobilla.net>2022-07-19 14:16:11 -0400
commit53cce2dce0956239718f5f48793d1811cf543793 (patch)
treee5dd998c5bb6afd86bc5ce16e9f30a2aa889d94e /lv2specgen
parentaad9e84bbfc8dc955260f34bf8a63477052e2e55 (diff)
downloadlv2-53cce2dce0956239718f5f48793d1811cf543793.tar.xz
lv2specgen: Fix installed data paths
Diffstat (limited to 'lv2specgen')
-rwxr-xr-xlv2specgen/lv2specgen.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index da58e4f..0c5a87d 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -1515,9 +1515,9 @@ if __name__ == "__main__":
for d in _data_dirs():
path = os.path.join(d, "lv2specgen")
if (
- os.path.exists(os.path.join(d, "template.html"))
- and os.path.exists(os.path.join(d, "style.css"))
- and os.path.exists(os.path.join(d, "pygments.css"))
+ os.path.exists(os.path.join(path, "template.html"))
+ and os.path.exists(os.path.join(path, "style.css"))
+ and os.path.exists(os.path.join(path, "pygments.css"))
):
data_dir = path
break