Skip to content

Commit af88c5b

Browse files
committed
Avoid error when CUPROTOCOMPAT is empty
1 parent 4ef6565 commit af88c5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

steamtinkerlaunch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)