diff -r 03326250bfc5 code/ryzom/tools/scripts/linux/build --- a/code/ryzom/tools/scripts/linux/build Thu May 06 02:08:41 2010 +0200 +++ b/code/ryzom/tools/scripts/linux/build Sat May 08 14:34:51 2010 +0200 @@ -49,7 +49,11 @@ # Set the source directory. Use the environment SRC_DIR variable, if it's # not set, use $HOME/cvs as a default value -SRC_DIR="$HOME/code" +if test X"$RYZOM_PATH" = "X" +then + RYZOM_PATH="$HOME/code" +fi +SRC_DIR="$RYZOM_PATH/../../code" # Build diretories BUILD_DEBUG="$SRC_DIR/build/debug" @@ -74,10 +78,10 @@ ########################################################################### # Flag files associated to each mode -DEBUG_FILE="$HOME/.mode_debug" -STATIC_FILE="$HOME/.mode_static" -DYNAMIC_FILE="$HOME/.mode_dynamic" -SILENT_FILE="$HOME/.mode_silent" +DEBUG_FILE="$RYZOM_PATH/.mode_debug" +STATIC_FILE="$RYZOM_PATH/.mode_static" +DYNAMIC_FILE="$RYZOM_PATH/.mode_dynamic" +SILENT_FILE="$RYZOM_PATH/.mode_silent" # Specify the source code directory of each projects NEL_SRC="$SRC_DIR/nel"