Переглянути джерело

[godot] Fix branch enumeration in setup script.

Mario Zechner 10 місяців тому
батько
коміт
33ea72017b
1 змінених файлів з 1 додано та 1 видалено
  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
 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