Skip to content

Commit

Permalink
πŸ”§πŸ› using the EOF format in the old tool
Browse files Browse the repository at this point in the history
  • Loading branch information
vokimon committed Dec 2, 2024
1 parent 396fbd8 commit 1f3ee5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/project2bashvars.gd
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ func printvar(shellvar, setting_value):
if not setting_value.contains('\n'):
print('{0}="{1}"'.format([shellvar, setting_value]))
else:
print('{0}=$(cat <<EOF\n{1}\nEOF\n)'.format([shellvar, setting_value]))
print('{0}=<<EOF\n{1}\nEOF'.format([shellvar, setting_value]))

func printvar_fromgodot(shellvar, setting, default):
var setting_value = ProjectSettings.get_setting(setting, default)
Expand Down

0 comments on commit 1f3ee5b

Please sign in to comment.