Explorar el Código

executable hotfix for Rust | fixes #1171

UltimateByte hace 9 años
padre
commit
ade6d66a18
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      Rust/rustserver

+ 2 - 2
Rust/rustserver

@@ -116,7 +116,7 @@ filesdir="${rootdir}/serverfiles"
 ## Server Specific Directories
 systemdir="${filesdir}"
 executabledir="${filesdir}"
-executable="./RustDedicated"
+executable="LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`dirname $0`/RustDedicated_Data/Plugins/x86_64 ./RustDedicated"
 serveridentitydir="${systemdir}/server/${servicename}"
 servercfg="server.cfg"
 servercfgdefault="server.cfg"
@@ -214,4 +214,4 @@ fi
 core_dl.sh
 core_functions.sh
 getopt=$1
-core_getopt.sh
+core_getopt.sh