aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--install.bat4
1 files 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:
125/SCRIPTS [dir] Where to install commandline scripts installed by 125/SCRIPTS [dir] Where to install commandline scripts installed by
126 rocks. Default is {TREE}/bin. 126 rocks. Default is {TREE}/bin.
127/CONFIG [dir] Location where the config file should be installed. 127/CONFIG [dir] Location where the config file should be installed.
128 Default is %PROGRAMFILES%\LuaRocks 128 Default is to follow /P option
129/SELFCONTAINED Creates a self contained installation in a single 129/SELFCONTAINED Creates a self contained installation in a single
130 directory given by /P. 130 directory given by /P.
131 Sets the /TREE and /CONFIG options to the same 131 Sets the /TREE and /CONFIG options to the same
@@ -592,7 +592,7 @@ else
592 -- our target interpreter is 64bit, so the tree (with binaries) should go into 64bit program files 592 -- our target interpreter is 64bit, so the tree (with binaries) should go into 64bit program files
593 datapath = os.getenv("ProgramW6432") .. [[\LuaRocks]] 593 datapath = os.getenv("ProgramW6432") .. [[\LuaRocks]]
594end 594end
595vars.SYSCONFDIR = vars.SYSCONFDIR or datapath 595vars.SYSCONFDIR = vars.SYSCONFDIR or vars.PREFIX
596vars.ROCKS_TREE = vars.ROCKS_TREE or datapath..[[\systree]] 596vars.ROCKS_TREE = vars.ROCKS_TREE or datapath..[[\systree]]
597if SELFCONTAINED then 597if SELFCONTAINED then
598 vars.SYSCONFDIR = vars.PREFIX 598 vars.SYSCONFDIR = vars.PREFIX