Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(693)

Side by Side Diff: slave/run_webserver.bat

Issue 147313006: Make sure cygwin mounts are set up before launching cygwin lighttpd (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build/
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 @echo off 1 @echo off
2 set lighttpd_dir=%~dp0..\third_party\lighttpd\win 2 set lighttpd_dir=%~dp0..\third_party\lighttpd\win
3 3
4 REM copy lighttpd.exe to lighttpd_server.exe, because we don't want it to be 4 REM copy lighttpd.exe to lighttpd_server.exe, because we don't want it to be
5 REM killed by taskkill. 5 REM killed by taskkill.
6 6
7 REM Since xcopy is stupid, tell it that lighttpd_server.exe is a file and not 7 REM Since xcopy is stupid, tell it that lighttpd_server.exe is a file and not
8 REM a directory using the echo hack. 8 REM a directory using the echo hack.
9 echo f | xcopy /D /Y %lighttpd_dir%\lighttpd.exe %lighttpd_dir%\lighttpd_server. exe 9 echo f | xcopy /D /Y %lighttpd_dir%\lighttpd.exe %lighttpd_dir%\lighttpd_server. exe
10 10
11 REM copy the cygwin dll to the lighttpd folder because otherwise it wont work. 11 REM copy the cygwin dll to the lighttpd folder because otherwise it wont work.
12 12
13 xcopy /D /Y %lighttpd_dir%\..\no_dll\CygWin1.dll %lighttpd_dir% 13 xcopy /D /Y %lighttpd_dir%\..\no_dll\CygWin1.dll %lighttpd_dir%
14 14
15 REM Make sure the cygwin mounts are set up.
16 call %~dp0..\third_party\cygwin\setup_mount.bat
17
15 REM Start the server, using the conf file in the slave directory. 18 REM Start the server, using the conf file in the slave directory.
16 19
17 :RESTART 20 :RESTART
18 echo Starting %lighttpd_dir%\lighttpd_server.exe -f %~dp0\lighttpd.conf -m %ligh ttpd_dir%\lib 21 echo Starting %lighttpd_dir%\lighttpd_server.exe -f %~dp0\lighttpd.conf -m %ligh ttpd_dir%\lib
19 %lighttpd_dir%\lighttpd_server.exe -f %~dp0\lighttpd.conf -m %lighttpd_dir%\lib -D 22 %lighttpd_dir%\lighttpd_server.exe -f %~dp0\lighttpd.conf -m %lighttpd_dir%\lib -D
20 goto :RESTART 23 goto :RESTART
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698