Open mikatammi opened 2 years ago
SteamVR's vrwebhelper.sh script gives error for unbound variable, as "set -u" is being set which checks for unbound variables.
/home/username/.local/share/Steam/steamapps/common/SteamVR/bin/vrwebhelper/linux64/vrwebhelper.sh: line 17: STEAMVR_VRENV: unbound variable
Proper way would be to use eg. [ -v STEAMVR_VRENV ] first to test if the variable has been set. This does not trigger the unbound variable error.
[ -v STEAMVR_VRENV ]
I was able to launch Half-Life Alyx, by running Steam with: STEAMVR_VRENV="${HOME}/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh" steam
STEAMVR_VRENV="${HOME}/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh" steam
Related: #332
Your system information
Please describe your issue in as much detail as possible:
SteamVR's vrwebhelper.sh script gives error for unbound variable, as "set -u" is being set which checks for unbound variables.
/home/username/.local/share/Steam/steamapps/common/SteamVR/bin/vrwebhelper/linux64/vrwebhelper.sh: line 17: STEAMVR_VRENV: unbound variable
Proper way would be to use eg.
[ -v STEAMVR_VRENV ]
first to test if the variable has been set. This does not trigger the unbound variable error.Steps for reproducing this issue:
I was able to launch Half-Life Alyx, by running Steam with:
STEAMVR_VRENV="${HOME}/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh" steam