Linux multi-monitor fullscreen support
[ryzomcore.git] / nel / tools / 3d / build_gamedata / sh / export.sh
blob836a3bfe52cf055ba96387d072ece6702f33cd0d
1 #!/bin/bash
2 rm log.log 2> /dev/null
4 # Export the processes
6 # Get the process list
7 process_to_complete=`cat cfg/config.cfg | grep "process_to_complete" | sed -e 's/process_to_complete//' | sed -e 's/ //g' | sed -e 's/=//g' | sed -e 's/,/ /g'`
9 # Log error
10 echo > log.log
11 date >> log.log
12 date
14 # For each process
15 for i in $process_to_complete ; do
16 # Open the directory
17 cd processes/$i
19 # Excecute the command
20 ./2_export.bat
22 # Get back
23 cd ../..
25 # Concat log.log files
26 cat processes/$i/log.log >> log.log
28 # Idle
29 ./idle.bat
30 done
32 # Copy the log file
33 cp log.log export.log