[godot] Fix branch enumeration in setup script.

This commit is contained in:
Mario Zechner 2024-10-30 10:17:26 +01:00
parent 220678f336
commit 33ea72017b

View File

@ -33,7 +33,7 @@ if [ "$mono" != "true" ] && [ "$mono" != "false" ]; then
exit 1
fi
godot_cpp_branch=$(echo $godot_branch | cut -d. -f1-2)
godot_cpp_branch=$(echo $godot_branch | cut -d. -f1-2 | cut -d- -f1)
cpus=2
if [ "$OSTYPE" == "msys" ]; then