Linux multi-monitor fullscreen support
[ryzomcore.git] / nel / tools / 3d / build_gamedata / sh / client_setup.sh
blob33cb1c2bfe4985d8a783056655d188b5d27129d9
1 #!/bin/bash
2 rm log.log 2> /dev/null
4 # Setup the client
6 # Get the client directory
7 client_directory=`cat cfg/site.cfg | grep "client_directory" | sed -e 's/client_directory//' | sed -e 's/ //g' | sed -e 's/=//g'`
9 # Get the client setup directories
10 client_setup_directories=`cat cfg/directories.cfg | grep "client_setup_directory" | sed -e 's/client_setup_directory//' | sed -e 's/ //g' | sed -e 's/=//g'`
12 # Log error
13 echo > log.log
15 # Create the file
17 # For each directory
18 for i in $client_setup_directories ; do
19 # Create the directory
20 mkdir $client_directory/$i 2> /dev/null
22 # Idle
23 ./idle.bat
24 done