Fixed: Calling stop on music player should not affect background music.
[ryzomcore.git] / nelDashBuild.sh
blob078678e0a53bef4340e4c9e09613967b1d26bce0
1 #!/bin/sh
3 # Usage: ./nelDashBuild.sh <Continuous|Experimental|Nightly> [/path/to/source]
5 #
7 # Default the source directory to where this is run from.
8 NEL_DIR=`pwd`
9 BUILDTYPE="Continuous"
11 # Check to make sure we have at least one argument. Output usage.
12 if [ $# -lt 1 ];
13 then
14 echo "Usage: $0 <Continuous|Experimental|Nightly> [/path/to/source]"
15 exit;
16 else
17 # Save the build type.
18 BUILDTYPE=$1
21 # If we have more than one argument assume the 2nd argument is the source dir.
22 if [ $# -gt 1 ];
23 then
24 NEL_DIR=$2
27 # Change to the NeL source dir for this build.
28 if [ -e $NEL_DIR/build ];
29 then
30 cd $NEL_DIR/build
31 else
32 echo "$0: Failed to change to build dir: $NEL_DIR/build"
33 exit;
36 #this is due to a bug, the process extracts information from the svn output which needs to be in english
37 #export LC_MESSAGES=en_GB
39 # Start the build
40 make -j -l 2.0 $1