diff options
author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2013-12-21 22:51:22 -0800 |
---|---|---|
committer | Thijs Schreijer <thijs@thijsschreijer.nl> | 2013-12-21 22:51:22 -0800 |
commit | c05ebc07763f94c1adfd4c201a805b66e8d98097 (patch) | |
tree | da9a6fd573fb003eb9ec15f75f94508d41295027 | |
parent | 6b398ff0e90dd6329a2431fb8270627903f6bb35 (diff) | |
parent | 52cd32aca3b9dca4ec2632d4e8c80de1a47da5ab (diff) | |
download | luarocks-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.bat | 4 |
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 | ||
35 | REM execute LuaRocks and wait for results | 35 | REM execute LuaRocks and wait for results |
36 | echo executing: luarocks %* | 36 | echo executing: luarocks %* |
37 | call %MYPATH%luarocks %* | 37 | call "%MYPATH%luarocks" %* |
38 | pause | 38 | pause |
39 | goto END | 39 | goto END |
40 | 40 | ||
41 | :REMOVEALL | 41 | :REMOVEALL |
42 | for /f "delims=-" %%a in ("%~n2") do ( | 42 | for /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 | ) |