From 9fb2a238d99480bf966a67abb1de1b9a7d4eb6e5 Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Fri, 10 Jan 2014 11:31:05 +0100 Subject: bugfix: /CONFIG option to follow install location, so /P will have effect on config location as well. --- install.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.bat b/install.bat index 8b0aa95f..22cdd523 100644 --- a/install.bat +++ b/install.bat @@ -125,7 +125,7 @@ Configuring the destinations: /SCRIPTS [dir] Where to install commandline scripts installed by rocks. Default is {TREE}/bin. /CONFIG [dir] Location where the config file should be installed. - Default is %PROGRAMFILES%\LuaRocks + Default is to follow /P option /SELFCONTAINED Creates a self contained installation in a single directory given by /P. Sets the /TREE and /CONFIG options to the same @@ -592,7 +592,7 @@ else -- our target interpreter is 64bit, so the tree (with binaries) should go into 64bit program files datapath = os.getenv("ProgramW6432") .. [[\LuaRocks]] end -vars.SYSCONFDIR = vars.SYSCONFDIR or datapath +vars.SYSCONFDIR = vars.SYSCONFDIR or vars.PREFIX vars.ROCKS_TREE = vars.ROCKS_TREE or datapath..[[\systree]] if SELFCONTAINED then vars.SYSCONFDIR = vars.PREFIX -- cgit v1.2.3-55-g6feb