Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
qaisjp committed May 21, 2019
1 parent 0d6f0f8 commit a0cbbab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions utils/buildactions/install_data.lua
Expand Up @@ -16,11 +16,11 @@ local NET_PATH_X64_LINUX = "https://mirror.mtasa.com/bdata/net_64.so"
newaction {
trigger = "install_data",
description = "Installs data files",

execute = function()
-- Make Bin directory if not exists
os.mkdir(BIN_DIR)

-- Copy data files
if os.host() == "windows" then
os.copydir(DATA_DIR, BIN_DIR)
Expand All @@ -29,22 +29,22 @@ newaction {
-- Copy configs if they don't already exist
os.copydir("Server/mods/deathmatch", BIN_DIR.."/server/mods/deathmatch", "*.conf", false, true)
os.copydir("Server/mods/deathmatch", BIN_DIR.."/server/mods/deathmatch", "*.xml", false, true)

-- Make sure server/x64 directory exists
os.mkdir(BIN_DIR.."/server/x64")

if os.host() == "windows" then
http.download_print_errors(NET_PATH_X86_WIN, BIN_DIR.."/server/net.dll")
http.download_print_errors(NET_PATH_X64_WIN, BIN_DIR.."/server/x64/net.dll")
http.download_print_errors(NETC_PATH_WIN, BIN_DIR.."/MTA/netc.dll")

os.copyfile(BIN_DIR.."/MTA/netc.dll", BIN_DIR.."/MTA/netc_d.dll")
os.copyfile(BIN_DIR.."/server/net.dll", BIN_DIR.."/server/net_d.dll")
os.copyfile(BIN_DIR.."/server/x64/net.dll", BIN_DIR.."/server/x64/net_d.dll")
else
http.download_print_errors(NET_PATH_X86_LINUX, BIN_DIR.."/server/net.so")
http.download_print_errors(NET_PATH_X64_LINUX, BIN_DIR.."/server/x64/net.so")

os.copyfile(BIN_DIR.."/server/net.so", BIN_DIR.."/server/net_d.so")
os.copyfile(BIN_DIR.."/server/x64/net.so", BIN_DIR.."/server/x64/net_d.so")
end
Expand Down
2 changes: 1 addition & 1 deletion vendor/curl/premake5.lua
Expand Up @@ -18,7 +18,7 @@ project "curl"
"lib/amigaos.h",
"lib/config-amigaos.h",
"lib/config-dos.h",
"lib/config-mac.h"
"lib/config-mac.h",
"lib/config-os400.h",
"lib/config-riscos.h",
"lib/config-symbian.h",
Expand Down

0 comments on commit a0cbbab

Please sign in to comment.