aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThijs Schreijer <thijs@thijsschreijer.nl>2013-12-21 22:51:22 -0800
committerThijs Schreijer <thijs@thijsschreijer.nl>2013-12-21 22:51:22 -0800
commitc05ebc07763f94c1adfd4c201a805b66e8d98097 (patch)
treeda9a6fd573fb003eb9ec15f75f94508d41295027
parent6b398ff0e90dd6329a2431fb8270627903f6bb35 (diff)
parent52cd32aca3b9dca4ec2632d4e8c80de1a47da5ab (diff)
downloadluarocks-c05ebc07763f94c1adfd4c201a805b66e8d98097.tar.gz
luarocks-c05ebc07763f94c1adfd4c201a805b66e8d98097.tar.bz2
luarocks-c05ebc07763f94c1adfd4c201a805b66e8d98097.zip
Merge pull request #205 from Tieske/context_menu_fix
fixed bug where context menu options did not support paths containing spaces
-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)