File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export reldir="${basedir}/releases/${godot_version}"
54
54
export reldir_mono=" ${reldir} /mono"
55
55
export tmpdir=" ${basedir} /tmp"
56
56
export templatesdir=" ${tmpdir} /templates"
57
- export templatesdir_mono=" ${templatesdir} - mono"
57
+ export templatesdir_mono=" ${tmpdir} / mono/templates "
58
58
59
59
export godot_basename=" Godot_v${godot_version} "
60
60
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ export reldir="${basedir}/releases/${godot_version}"
44
44
export reldir_mono=" ${reldir} /mono"
45
45
export tmpdir=" ${basedir} /tmp"
46
46
export templatesdir=" ${tmpdir} /templates"
47
- export templatesdir_mono=" ${templatesdir} - mono"
47
+ export templatesdir_mono=" ${tmpdir} / mono/templates "
48
48
49
49
export godot_basename=" Godot_v${godot_version} "
50
50
@@ -54,7 +54,9 @@ if [ "${build_classical}" == "1" ]; then
54
54
echo " ${templates_version} " > ${templatesdir} /version.txt
55
55
56
56
mkdir -p ${reldir}
57
- zip -q -9 -r -D " ${reldir} /${godot_basename} _export_templates.tpz" ${templatesdir}
57
+ pushd ${templatesdir} /..
58
+ zip -q -9 -r -D " ${reldir} /${godot_basename} _export_templates.tpz" templates/*
59
+ popd
58
60
fi
59
61
60
62
# Mono
@@ -63,7 +65,9 @@ if [ "${build_mono}" == "1" ]; then
63
65
echo " ${templates_version} .mono" > ${templatesdir_mono} /version.txt
64
66
65
67
mkdir -p ${reldir_mono}
66
- zip -q -9 -r -D " ${reldir_mono} /${godot_basename} _mono_export_templates.tpz" ${templatesdir_mono}
68
+ pushd ${templatesdir_mono} /..
69
+ zip -q -9 -r -D " ${reldir_mono} /${godot_basename} _mono_export_templates.tpz" templates/*
70
+ popd
67
71
fi
68
72
69
73
echo " Templates archives generated successfully"
You can’t perform that action at this time.
0 commit comments