Build: Fix empty install commands

Former-commit-id: 42abd0d02836ee466821da11bc34bbe4acc30389 [formerly 0031006522b6c8910fae4c7b72eaf05cda23dcea]
Former-commit-id: 11ed91151aa8db729bea196ca9705a6e60f260bb
This commit is contained in:
Lynix
2016-07-31 12:59:04 +02:00
parent e4a7a7e858
commit fdfd078335
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