File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ while [[ $# -gt 0 ]]; do
3030 ;;
3131 * )
3232 # First non-option argument is GODOT_VERSION
33- if [[ -z " $GODOT_VERSION " ]]; then
34- GODOT_VERSION =" $1 "
33+ if [[ -z " $godot_version " ]]; then
34+ godot_version =" $1 "
3535 else
3636 echo " Error: Unexpected argument '$1 '"
3737 echo " "
@@ -43,17 +43,17 @@ while [[ $# -gt 0 ]]; do
4343done
4444
4545# Check if required argument is provided
46- if [[ -z " $GODOT_VERSION " ]]; then
46+ if [[ -z " $godot_version " ]]; then
4747 echo " Error: GODOT_VERSION argument is required"
4848 echo " "
4949 usage
5050fi
5151
52- echo " Installing Android template for Godot version: $GODOT_VERSION "
52+ echo " Installing Android template for Godot version: $godot_version "
5353
5454# Download Godot templates
55- archive_file=Godot_v${GODOT_VERSION } _export_templates.tpz
56- url=https://github.com/godotengine/godot-builds/releases/download/${GODOT_VERSION } /${archive_file}
55+ archive_file=Godot_v${godot_version } _export_templates.tpz
56+ url=https://github.com/godotengine/godot-builds/releases/download/${godot_version } /${archive_file}
5757echo " Downloading templates from: $url "
5858curl -L -o templates.zip " ${url} "
5959
You can’t perform that action at this time.
0 commit comments