diff options
author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2013-12-22 07:49:58 +0100 |
---|---|---|
committer | Thijs Schreijer <thijs@thijsschreijer.nl> | 2013-12-22 07:49:58 +0100 |
commit | 52cd32aca3b9dca4ec2632d4e8c80de1a47da5ab (patch) | |
tree | 84e88cf385be0e99144e9ba8d20e13bcaf672628 | |
parent | e70f8ed480aa963c1dcc02b999cd47c0bff50f2a (diff) | |
download | luarocks-52cd32aca3b9dca4ec2632d4e8c80de1a47da5ab.tar.gz luarocks-52cd32aca3b9dca4ec2632d4e8c80de1a47da5ab.tar.bz2 luarocks-52cd32aca3b9dca4ec2632d4e8c80de1a47da5ab.zip |
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 | ) |