aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/repos.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/repos.lua b/src/luarocks/repos.lua
index 23398cbb..08810015 100644
--- a/src/luarocks/repos.lua
+++ b/src/luarocks/repos.lua
@@ -216,7 +216,7 @@ function deploy_files(name, version, wrap_bin_scripts)
216 if err == "untracked" then 216 if err == "untracked" then
217 local backup = target 217 local backup = target
218 repeat 218 repeat
219 backup = target.."~" 219 backup = backup.."~"
220 until not fs.exists(backup) -- slight race condition here, but shouldn't be a problem. 220 until not fs.exists(backup) -- slight race condition here, but shouldn't be a problem.
221 util.printerr("Warning: "..target.." is not tracked by this installation of LuaRocks. Moving it to "..backup) 221 util.printerr("Warning: "..target.." is not tracked by this installation of LuaRocks. Moving it to "..backup)
222 fs.move(target, backup) 222 fs.move(target, backup)