diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/fs/unix/tools.lua | 2 |
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 = {} | |||
12 | local vars = cfg.variables | 12 | local vars = cfg.variables |
13 | 13 | ||
14 | local function command_at(directory, cmd) | 14 | local function command_at(directory, cmd) |
15 | return "cd " .. fs.Q(directory) .. " && " .. cmd | 15 | return "cd " .. fs.Q(fs.absolute_name(directory)) .. " && " .. cmd |
16 | end | 16 | end |
17 | 17 | ||
18 | --- Obtain current directory. | 18 | --- Obtain current directory. |