diff options
author | Robin Gareus <robin@gareus.org> | 2016-09-12 12:05:03 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-09-12 12:05:03 +0200 |
commit | 37f7d7595c478f790c1f241c6f99e1593c969065 (patch) | |
tree | e226a04e4ea17b8b4830a4545484a253bfdd010f /scripts | |
parent | cf0d06c13728aadbbe11884c84bb19a2df7354ad (diff) |
Tweak PR 269 for portable file-path
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/export_mp4chaps.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/export_mp4chaps.lua b/scripts/export_mp4chaps.lua index 4adffe16ce..d5e7a5708e 100644 --- a/scripts/export_mp4chaps.lua +++ b/scripts/export_mp4chaps.lua @@ -45,7 +45,7 @@ function factory (unused_params) return function () table.insert(chaps, "00:00:00.000 Intro\n") table.sort(chaps) - file = io.open(string.format("%s/export/mp4chaps.txt", Session:path()), "w") + file = io.open(ARDOUR.LuaAPI.build_filename (Session:path(), "export", "mp4chaps.txt"), "w") for i, line in ipairs(chaps) do file:write(line) end |