cwesnoth: Document environment assignments

This commit is contained in:
Ignacio R. Morelle 2015-04-26 05:49:29 -03:00
parent 7c8f1e5616
commit 13107f3437

View file

@ -6,9 +6,15 @@ rem Usage:
rem cwesnoth <command line>
rem
rem Disable stdout.txt/stderr.txt redirection in SDLmain.
set SDL_STDIO_REDIRECT=0
set OMP_WAIT_POLICY=PASSIVE
@wesnoth --wconsole %*
rem Drop this from environment for future runs on the same session.
rem OpenMP builds need to set this variable on startup and relaunch Wesnoth in
rem order to prevent constant busy waits. Do it here so the restart doesn't
rem cause this script to return to the shell too early.
set OMP_WAIT_POLICY=PASSIVE
wesnoth --wconsole %*
rem Drop our custom environment for future runs on the same session.
set SDL_STDIO_REDIRECT=