aboutsummaryrefslogtreecommitdiff
path: root/lib/util.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util.lua')
-rw-r--r--lib/util.lua2
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