File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments