fix error about concatenating a nil value
guess the "vs*" config is evaluated even if we aren't building for it...
This commit is contained in:
parent
6e90860293
commit
3095735268
|
@ -4,6 +4,8 @@ SDL_ROOT = os.getenv("SDL_ROOT")
|
||||||
if not SDL_ROOT and string.find(_ACTION, "vs") then
|
if not SDL_ROOT and string.find(_ACTION, "vs") then
|
||||||
printf("ERROR: Environment variable SDL_ROOT is not set.")
|
printf("ERROR: Environment variable SDL_ROOT is not set.")
|
||||||
os.exit()
|
os.exit()
|
||||||
|
elseif not SDL_ROOT then
|
||||||
|
SDL_ROOT = ""
|
||||||
end
|
end
|
||||||
|
|
||||||
if _ACTION == "clean" then
|
if _ACTION == "clean" then
|
||||||
|
|
Reference in a new issue