mirror of
https://codeberg.org/1414codeforge/lua-osx.git
synced 2025-02-16 12:10:45 +01:00
[examples/rename] Fix variable names.
This commit is contained in:
parent
ca5ea0085c
commit
3ea3eeaa67
@ -41,6 +41,6 @@ for filename in dir(path) do
|
|||||||
|
|
||||||
-- Print a nice message and rename things
|
-- Print a nice message and rename things
|
||||||
write(from, ' -> ', to)
|
write(from, ' -> ', to)
|
||||||
assert(osx.rename(filename, newfilename))
|
assert(osx.rename(from, to))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user