The problem seems to be fixed. There is another Problem.
The srcds_run doesn't provide white spaces in the path:

Change the Code:
get_srcds_dir() {
                SRCDS_DIR=`dirname $0`
                pushd . > /dev/null
                cd $SRCDS_DIR
                SRCDS_DIR=`pwd`
                popd > /dev/null
}

TO:

get_srcds_dir() {
                SRCDS_DIR="`dirname "$0"`"
                cd "$SRCDS_DIR"
                SRCDS_DIR="`pwd`"
}

Removed pushd and popd, because they are implemented in Bourne-Again
Shell and not Bourne Shell or Debian Almquist Shell which is default
replacement for /bin/sh under Debian Squeeze.

Test this equivalent example code to pushd and popd outside of a
directory from srcs_run and you will see, it will not work:

get_srcds_dir() {
                SRCDS_DIR="`dirname "$0"`"
                oldpwd="`pwd`"
                cd "$SRCDS_DIR"
                SRCDS_DIR="`pwd`"
                cd "$oldpwd"
}


csgo@n017:~$ csgo\ 1/srcds_run -game csgo
ERROR: Invalid game type 'csgo' sepecified.
Sa 7. Jul 22:58:39 CEST 2012: Server Failed

_______________________________________________
Csgo_servers mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

Reply via email to