aboutsummaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorThijs Schreijer <thijs@thijsschreijer.nl>2013-12-22 07:49:58 +0100
committerThijs Schreijer <thijs@thijsschreijer.nl>2013-12-22 07:49:58 +0100
commit52cd32aca3b9dca4ec2632d4e8c80de1a47da5ab (patch)
tree84e88cf385be0e99144e9ba8d20e13bcaf672628 /win32
parente70f8ed480aa963c1dcc02b999cd47c0bff50f2a (diff)
downloadluarocks-52cd32aca3b9dca4ec2632d4e8c80de1a47da5ab.tar.gz
luarocks-52cd32aca3b9dca4ec2632d4e8c80de1a47da5ab.tar.bz2
luarocks-52cd32aca3b9dca4ec2632d4e8c80de1a47da5ab.zip
fixed bug where context menu options did not support paths containing spaces
Diffstat (limited to 'win32')
-rw-r--r--win32/bin/luarocksw.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/bin/luarocksw.bat b/win32/bin/luarocksw.bat
index 313508d4..8ac02920 100644
--- a/win32/bin/luarocksw.bat
+++ b/win32/bin/luarocksw.bat
@@ -34,14 +34,14 @@ if [%1]==[removeall] goto REMOVEALL
34 34
35REM execute LuaRocks and wait for results 35REM execute LuaRocks and wait for results
36echo executing: luarocks %* 36echo executing: luarocks %*
37call %MYPATH%luarocks %* 37call "%MYPATH%luarocks" %*
38pause 38pause
39goto END 39goto END
40 40
41:REMOVEALL 41:REMOVEALL
42for /f "delims=-" %%a in ("%~n2") do ( 42for /f "delims=-" %%a in ("%~n2") do (
43 echo executing: luarocks remove %%a 43 echo executing: luarocks remove %%a
44 %MYPATH%luarocks remove "%%a" 44 "%MYPATH%luarocks" remove "%%a"
45 pause 45 pause
46 goto END 46 goto END
47) 47)