From 3ea3eeaa672833b8f0c8395a9b2786984b18a047 Mon Sep 17 00:00:00 2001 From: Lorenzo Cogotti Date: Thu, 15 Dec 2022 09:38:57 +0100 Subject: [PATCH] [examples/rename] Fix variable names. --- examples/rename.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/rename.lua b/examples/rename.lua index 20bf88f..40ef2eb 100755 --- a/examples/rename.lua +++ b/examples/rename.lua @@ -41,6 +41,6 @@ for filename in dir(path) do -- Print a nice message and rename things write(from, ' -> ', to) - assert(osx.rename(filename, newfilename)) + assert(osx.rename(from, to)) end end