protonscr

steamwebhelper.sh does not handle spaces in path

steamclosed
ValveSoftware/steam-for-linux#7939 · opened 2021-07-23 by dotterian · updated 2021-10-01 · 2 comments · github
Ddotterian 2021-07-23 github

Your system information

  • Steam client version: Jul 20 2021
  • Distribution: Ubuntu
  • Opted into Steam client beta?: Yes
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

If Steam installation path contains spaces steamwebhelper.sh breaks due to lack of quotes around path passed to dirname.
Right now it's

DIR=`dirname $0`

Should be

DIR=`dirname "$0"`

Steps for reproducing this issue:

  1. Move your Steam installation to a path containing space in it (in my case it's /media/%user%/Windows/Program Files (x64)/Steam. Yeah, I've tried to combine both distributions in hopes to save some space on my drives).
  2. Steaming pile of $#!+
Ddsalt 2021-08-27 github

Looks like this one's been quietly fixed.

(I edited ubuntu12_64/steamwebhelper.sh by adding a blank line then I restarted Steam; the change is reverted, and the offending line remains properly quoted. I'm running the beta client, as usual.)

Kkisak-valve maintainer 2021-10-01 github

Closing per the last comment.

Nothing extracted yet.