Skip to content

Commit

Permalink
use windows short names => no issue with space in dir
Browse files Browse the repository at this point in the history
  • Loading branch information
wiibaa authored and jordansissel committed May 19, 2015
1 parent 370517b commit 6cb438d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion bin/logstash.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

SETLOCAL

set SCRIPT_DIR=%~dp0
REM get logstash/bin absolute path: d => drive letter, p => path, s => use short names (no-spaces)
REM as explained on https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/percent.mspx?mfr=true
set SCRIPT_DIR=%~dps0
CALL %SCRIPT_DIR%\setup.bat

:EXEC
Expand Down
4 changes: 3 additions & 1 deletion bin/plugin.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

SETLOCAL

set SCRIPT_DIR=%~dp0
REM get logstash/bin absolute path: d => drive letter, p => path, s => use short names (no-spaces)
REM as explained on https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/percent.mspx?mfr=true
set SCRIPT_DIR=%~dps0
CALL %SCRIPT_DIR%\setup.bat

:EXEC
Expand Down
4 changes: 3 additions & 1 deletion bin/rspec.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

SETLOCAL

set SCRIPT_DIR=%~dp0
REM get logstash/bin absolute path: d => drive letter, p => path, s => use short names (no-spaces)
REM as explained on https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/percent.mspx?mfr=true
set SCRIPT_DIR=%~dps0
CALL %SCRIPT_DIR%\setup.bat

:EXEC
Expand Down

0 comments on commit 6cb438d

Please sign in to comment.