diff options
author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2013-09-20 20:53:25 +0200 |
---|---|---|
committer | Thijs Schreijer <thijs@thijsschreijer.nl> | 2013-09-20 20:53:25 +0200 |
commit | 4f565f32679530d4bb009b5f9b88a39deb10f405 (patch) | |
tree | 7ca5e7b6427eb8d96c571cecd5e7784d37b47e63 | |
parent | 666faa41661e0f6aaa1620a5751a4117013bf9b1 (diff) | |
download | luarocks-4f565f32679530d4bb009b5f9b88a39deb10f405.tar.gz luarocks-4f565f32679530d4bb009b5f9b88a39deb10f405.tar.bz2 luarocks-4f565f32679530d4bb009b5f9b88a39deb10f405.zip |
remove reg files no longer needed after install
-rw-r--r-- | install.bat | 4 | ||||
-rw-r--r-- | win32/bin/LuaRocks.reg.lua (renamed from win32/bin/create_reg_file.lua) | 0 |
2 files changed, 3 insertions, 1 deletions
diff --git a/install.bat b/install.bat index 8222454e..a45a0308 100644 --- a/install.bat +++ b/install.bat | |||
@@ -629,9 +629,11 @@ if REGISTRY then | |||
629 | -- expand template with correct path information | 629 | -- expand template with correct path information |
630 | print() | 630 | print() |
631 | print([[Loading registry information for ".rockspec" files]]) | 631 | print([[Loading registry information for ".rockspec" files]]) |
632 | exec( S[[lua5.1\bin\lua5.1.exe "$FULL_PREFIX\create_reg_file.lua" "$FULL_PREFIX\LuaRocks.reg.template"]] ) | 632 | exec( S[[lua5.1\bin\lua5.1.exe "$FULL_PREFIX\LuaRocks.reg.lua" "$FULL_PREFIX\LuaRocks.reg.template"]] ) |
633 | exec( S"$FULL_PREFIX\\LuaRocks.reg" ) | 633 | exec( S"$FULL_PREFIX\\LuaRocks.reg" ) |
634 | end | 634 | end |
635 | -- remove regsitry related files, no longer needed | ||
636 | exec( S[[del "$FULL_PREFIX\LuaRocks.reg.*" > nul]] ) | ||
635 | 637 | ||
636 | -- *********************************************************** | 638 | -- *********************************************************** |
637 | -- Exit handlers | 639 | -- Exit handlers |
diff --git a/win32/bin/create_reg_file.lua b/win32/bin/LuaRocks.reg.lua index 2eb7583a..2eb7583a 100644 --- a/win32/bin/create_reg_file.lua +++ b/win32/bin/LuaRocks.reg.lua | |||