Skip to content

Commit 37e9254

Browse files
rename func
1 parent d3d5740 commit 37e9254

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

utils/buildactions/compose_files.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ newaction {
2525

2626
-- Copy configs
2727
os.copydir("Server/mods/deathmatch", OUTPUT_DIR.."/server/mods/deathmatch", "*.conf")
28-
os.makeconfigtemplate(OUTPUT_DIR.."/server/mods/deathmatch/mtaserver.conf", OUTPUT_DIR.."/server/mods/deathmatch/mtaserver.conf.template")
28+
makeconfigtemplate(OUTPUT_DIR.."/server/mods/deathmatch/mtaserver.conf", OUTPUT_DIR.."/server/mods/deathmatch/mtaserver.conf.template")
2929
os.copydir("Server/mods/deathmatch", OUTPUT_DIR.."/server/mods/deathmatch", "*.xml")
3030

3131
-- Copy compiled binaries

utils/buildactions/install_data.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ newaction {
4949
return
5050
end
5151

52-
if not os.makeconfigtemplate(BIN_DIR.."/server/mods/deathmatch/mtaserver.conf", BIN_DIR.."/server/mods/deathmatch/mtaserver.conf.template") then
52+
if not makeconfigtemplate(BIN_DIR.."/server/mods/deathmatch/mtaserver.conf", BIN_DIR.."/server/mods/deathmatch/mtaserver.conf.template") then
5353
errormsg("ERROR: Could not copy mtaserver.conf to mtaserver.conf.template")
5454
os.exit(1)
5555
return

utils/buildactions/utils.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ end
156156

157157
-- Does a normal file copy and adds hardcoded text to the beginning of the resulting file
158158
-- Used in compose_files.lua and install_data.lua
159-
function os.makeconfigtemplate(file_path, result_path)
159+
function makeconfigtemplate(file_path, result_path)
160160
if not os.copyfile(file_path, result_path) then
161161
return false
162162
end

0 commit comments

Comments
 (0)