Skip to content

Commit 89af3c8

Browse files
authored
Avoid error when CUPROTOCOMPAT is empty (#1204)
1 parent 4ef6565 commit 89af3c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

steamtinkerlaunch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
PREFIX="/usr"
88
PROGNAME="SteamTinkerLaunch"
99
NICEPROGNAME="Steam Tinker Launch"
10-
PROGVERS="v14.0.20241025-1"
10+
PROGVERS="v14.0.20241228-1"
1111
PROGCMD="${0##*/}"
1212
PROGINTERNALPROTNAME="Proton-stl"
1313
SHOSTL="stl"
@@ -4403,7 +4403,7 @@ function needNewProton {
44034403
}
44044404

44054405
function dlCustomProton {
4406-
if [ "$CUPROTOCOMPAT" -eq 1 ]; then
4406+
if [[ -n "$CUPROTOCOMPAT" && "$CUPROTOCOMPAT" -eq 1 ]]; then
44074407
CUPROEXTDIR="$STEAMCOMPATOOLS"
44084408
else
44094409
CUPROEXTDIR="$CUSTPROTEXTDIR"

0 commit comments

Comments
 (0)