fn_insfix 539 B

123456789101112131415161718
  1. #!/bin/bash
  2. # LGSM fn_insfix function
  3. # Author: Daniel Gibbs
  4. # Website: http://gameservermanagers.com
  5. # Version: 110415
  6. # Description: Resolves ./srcds_linux: error while loading shared libraries: libtier0.so: cannot open shared object file: No such file or directory
  7. export LD_LIBRARY_PATH=:${filesdir}:${filesdir}/bin:{$LD_LIBRARY_PATH}
  8. # fix for issue #529 - gamemode not passed to debug or start
  9. if [ "${getopt}" == "debug" ]; then
  10. defaultmap="\"${defaultmap}\""
  11. else
  12. defaultmap="\\\"${defaultmap}\\\""
  13. fi
  14. fn_parms