From ab58875b1339f075a8343a8c6a28fbf7ce95fe13 Mon Sep 17 00:00:00 2001 From: kytv Date: Fri, 26 Aug 2011 15:49:09 +0000 Subject: [PATCH] The comment is no longer accurate (the file still has UNIX line endings) since we're using findstr --- installer/resources/fix_logfile_path.cmd | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/installer/resources/fix_logfile_path.cmd b/installer/resources/fix_logfile_path.cmd index 2bc04137d..2f7784f85 100644 --- a/installer/resources/fix_logfile_path.cmd +++ b/installer/resources/fix_logfile_path.cmd @@ -7,7 +7,7 @@ :: :: On every *NIX-like system, $SYSTEM_java_io_tmpdir/wrapper.log points to a system-level :: temp directory (/tmp on Linux, /var/tmp on BSD, etc.), but in Windows the value of %temp% -:: depends on whose account a process is running under. If the same user that installs I2P +:: depends on whose account a process is running under. If the same user that installs I2P :: is the only one that will run I2P, this isn't a problem. :: :: The problem comes from trying to run the process as a service, or trying to run under an @@ -29,5 +29,3 @@ cd /d %~dp0 findstr /V /R "^wrapper.logfile=" wrapper.config > wrapper.new echo wrapper.logfile=%%temp%%\wrapper.log >> wrapper.new move wrapper.new wrapper.config - -:: As an added bonus, wrapper.config now has DOS line endings in Windows.