From 37f7d7595c478f790c1f241c6f99e1593c969065 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 12 Sep 2016 12:05:03 +0200 Subject: Tweak PR 269 for portable file-path --- scripts/export_mp4chaps.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.3