Thanks for your help :D
Best Regards, // ET.Lin On 10 May 2011 18:44, kama <[email protected]> wrote: > > > On Tue, 10 May 2011, ET(ET, Lin) wrote: > > > Hi, > > > > I'm running HLDS server on linux, mainly TF2. > > It tells me cannot find the path to steam, so I manually add the path in > > "orangebox/srcds_run", set "STEAM="my/path"" inside"init() { }". > > But it seems to get overridden after an update. > > Can anyone tell me what's the correct way to set it? > > The correct way would be for valve to enable the script to handle allready > set variables. > > This way you can run it as: > # STEAM="/path/to/steam"; ./srcds_run .... > > Or write a wrapper script that sets all your variables you want before > running srcds_run. > > Or set it in the users .bash_profile. > > Another idea would be if they allow configuration files srcds_run. > > > One way, that allready works today, is to set the path to the steam binary > for your user. The script is written to try finding the steam binary. > > # export PATH=$PATH:/games/steamdir > > echo 'export PATH=$PATH:/games/steamdir' >> .bash_profile > > /Bjorn > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

