diff options
author | sinanmohd <sinan@sinanmohd.com> | 2023-09-30 22:23:11 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2023-10-01 07:50:38 +0530 |
commit | dbc20e0a10883b8cb44343432d4539009a45611b (patch) | |
tree | 11c4bcac779830f58549cc50dec23e2944866a10 /lib | |
parent | 21684486a17139741ecfc2c2144eea30e68f46cb (diff) |
mpv: init
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.lua b/lib/util.lua index d962961..15221dd 100644 --- a/lib/util.lua +++ b/lib/util.lua @@ -37,7 +37,7 @@ local zip_ext_first = function (zip, out) rc = os.execute('unzip -qq ' .. zip .. ' -d ' .. dir) srt = io.popen('find ' .. dir .. ' -type f -name *.srt'):read('*l') - os.rename(srt, out) + os.execute("mv '" .. srt .. "' '" .. out .. "'") os.remove(dir) return rc |