aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/fs/unix/tools.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/fs/unix/tools.lua b/src/luarocks/fs/unix/tools.lua
index 8db1f0e5..43174749 100644
--- a/src/luarocks/fs/unix/tools.lua
+++ b/src/luarocks/fs/unix/tools.lua
@@ -12,7 +12,7 @@ local dir_stack = {}
12local vars = cfg.variables 12local vars = cfg.variables
13 13
14local function command_at(directory, cmd) 14local function command_at(directory, cmd)
15 return "cd " .. fs.Q(directory) .. " && " .. cmd 15 return "cd " .. fs.Q(fs.absolute_name(directory)) .. " && " .. cmd
16end 16end
17 17
18--- Obtain current directory. 18--- Obtain current directory.