Skip to content

Commit

Permalink
Avoid error when CUPROTOCOMPAT is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
sparr committed Dec 26, 2024
1 parent 4ef6565 commit af88c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion steamtinkerlaunch
Original file line number Diff line number Diff line change
Expand Up @@ -4403,7 +4403,7 @@ function needNewProton {
}

function dlCustomProton {
if [ "$CUPROTOCOMPAT" -eq 1 ]; then
if [[ -n "$CUPROTOCOMPAT" && "$CUPROTOCOMPAT" -eq 1 ]]; then
CUPROEXTDIR="$STEAMCOMPATOOLS"
else
CUPROEXTDIR="$CUSTPROTEXTDIR"
Expand Down

0 comments on commit af88c5b

Please sign in to comment.