Procházet zdrojové kódy

Merge pull request #549 from PhilPhonic/patch-1

added fn_insfix
Daniel Gibbs před 10 roky
rodič
revize
9ffc1e83a8
1 změnil soubory, kde provedl 10 přidání a 1 odebrání
  1. 10 1
      functions/fn_insfix

+ 10 - 1
functions/fn_insfix

@@ -6,4 +6,13 @@
 
 # Description: Resolves ./srcds_linux: error while loading shared libraries: libtier0.so: cannot open shared object file: No such file or directory
 
-export LD_LIBRARY_PATH=:${filesdir}:${filesdir}/bin:{$LD_LIBRARY_PATH}
+export LD_LIBRARY_PATH=:${filesdir}:${filesdir}/bin:{$LD_LIBRARY_PATH}
+
+# fix for issue #529 - gamemode not passed to debug or start
+
+if [ "${getopt}" == "debug" ]; then
+        defaultmap="\"${defaultmap}\""
+else
+        defaultmap="\\\"${defaultmap}\\\""
+fi
+fn_parms