浏览代码

[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