Ver Fonte

[godot] Fix branch enumeration in setup script.

Mario Zechner há 10 meses atrás
pai
commit
33ea72017b
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      spine-godot/build/setup-extension.sh

+ 1 - 1
spine-godot/build/setup-extension.sh

@@ -33,7 +33,7 @@ if [ "$mono" != "true" ] && [ "$mono" != "false" ]; then
     exit 1
     exit 1
 fi
 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
 cpus=2
 if [ "$OSTYPE" == "msys" ]; then
 if [ "$OSTYPE" == "msys" ]; then