From 4e52b9c8d7134915e520d08a72aeee8f2b5b4253 Mon Sep 17 00:00:00 2001 From: kytv Date: Sat, 17 Sep 2011 14:58:30 +0000 Subject: [PATCH] fix paths to pid files (setting them to explicitly point to %TEMP%) --- installer/resources/fix_logfile_path.cmd | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/installer/resources/fix_logfile_path.cmd b/installer/resources/fix_logfile_path.cmd index 2f7784f85..ab9f0c11c 100644 --- a/installer/resources/fix_logfile_path.cmd +++ b/installer/resources/fix_logfile_path.cmd @@ -26,6 +26,10 @@ :: lameness. :: cd /d %~dp0 -findstr /V /R "^wrapper.logfile=" wrapper.config > wrapper.new +findstr /V /R "^wrapper.logfile=" wrapper.config > wrapper.tmp1 +findstr /V /R "^wrapper.java.pidfile=" wrapper.tmp1 > wrapper.tmp2 +findstr /V /R "^wrapper.pidfile=" wrapper.tmp2 > wrapper.new +del /F /Q wrapper.tmp* echo wrapper.logfile=%%temp%%\wrapper.log >> wrapper.new -move wrapper.new wrapper.config +echo wrapper.java.pidfile=%%temp%%\routerjvm.pid >> wrapper.new +move /Y wrapper.new wrapper.config