This has always been a minor issue to me, but it would appear that the
steam no hldsupdatetool.bin files are aware of $PATH - something which
I use extensively in my system.

For example:

left4dead@secure:~$ ls -la bin/steam
-rwxr-xr-x 1 left4dead left4dead 7822833 2005-04-07 14:04 bin/steam
left4dead@secure:~$ md5sum bin/steam
f7d7f698084e9b6aab9ebd80ca904f62  bin/steam
left4dead@secure:~$ steam
Checking bootstrapper version ...
Getting version 45 of Steam HLDS Update Tool
Downloading. . . . . . . . . . . .
Could not open file steam
left4dead@secure:~$ ls -la bin/steam
-rwxr-xr-x 1 left4dead left4dead 5265976 2011-07-11 14:54 bin/steam
left4dead@secure:~$ md5sum bin/steam
009a9dbc253e348f16fc062f6316ac38  bin/steam

Why would it say it cannot open the file when it clearly has updated it?

I also noted that when I deleted the steam binary (the one that just
got updated), and re-executed the hldsupdatetool.bin file, the steam
binary didn't check to see it was updated (note the 'getting version
45 of... text).  This was because I use a local path including
$HOME/bin if it exists (a common Linux environment addon). I had to go
into my ~/bin and remove the test binaries, to my ~/ and remove the
.steam directory, then go back to ~/bin to re-run the
hldsupdatetool.bin followed by a local run of the steam binary to get
it to run normally.

left4dead@secure:~/bin$ ./steam
Checking bootstrapper version ...
Getting version 45 of Steam HLDS Update Tool
Downloading. . . . . . . . . . . .
Steam Linux Client updated, please retry the command
left4dead@secure:~/bin$ md5sum steam
009a9dbc253e348f16fc062f6316ac38  steam


There needs to be some improved handling of knowing where the binary
exists, and from what PWD it is executed from.  If $PATH were imported
along with $PWD and $HOME this could resolve these nuances.  I don't
know where that 'could not open' error comes from ultimately; but it
is misrepresented.

~Brian

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to