[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…
Reference in New Issue