Build: Fix empty install commands

Former-commit-id: b1bc095ab7394364acbeaf672f6d4c6dcbfc2c71 [formerly 1b44b6b1fea962ed28b401f36c2ad12a8324ef2a]
Former-commit-id: b2193ae86ce18618874827a440ab23abeb83a5e6
This commit is contained in:
Lynix
2016-07-31 12:59:04 +02:00
parent 487bc7383c
commit 3eceba1770
6 changed files with 46 additions and 5 deletions

View File

@@ -693,7 +693,9 @@ function NazaraBuild:LoadConfig()
local paths = string.explode(self.Config["InstallDir"], ";")
for k,v in pairs(paths) do
self:AddInstallPath(v)
if (#v > 0) then
self:AddInstallPath(v)
end
end
end