From 186db3f604b78055c627db013b2152430c0b437b Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Mon, 9 Sep 2013 10:36:14 -0300 Subject: Fix typo. (Ouch, how did that get in? My local environment must have pulled luarocks.cfg from somewhere else. Need to check that.) --- src/luarocks/cfg.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua index 54b52a66..df1be2bb 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua @@ -31,7 +31,7 @@ end _M.site_config = site_config program_version = "2.1.0" -major_version = program_version:match("([^.]%.[^.])" +major_version = program_version:match("([^.]%.[^.])") local persist = require("luarocks.persist") -- cgit v1.2.3-55-g6feb From 5e1bc7d01b0cad40f718d850faf3520afd8644a8 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Mon, 9 Sep 2013 10:39:10 -0300 Subject: Since we're using our own mkdir, use mkdir -p to create subdirectories. Should suffice for #140 but needs testing. --- src/luarocks/fs/win32/tools.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/luarocks/fs/win32/tools.lua b/src/luarocks/fs/win32/tools.lua index 6960ab35..7bb69d9e 100644 --- a/src/luarocks/fs/win32/tools.lua +++ b/src/luarocks/fs/win32/tools.lua @@ -107,7 +107,7 @@ end -- @return boolean: true on success, false on failure. function make_dir(directory) assert(directory) - fs.execute(fs.quiet(vars.MKDIR.." "..fs.Q(directory))) + fs.execute(fs.quiet(vars.MKDIR.." -p "..fs.Q(directory))) if not fs.is_dir(directory) then return false, "failed making directory "..directory end -- cgit v1.2.3-55-g6feb