Skip to content

Commit

Permalink
Fix the build system to autodetect assemblers using newer Lua.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgiven committed Feb 22, 2022
1 parent 9ebbd53 commit f31403c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkninja.lua
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function set(t)
end

function command_present(name)
return os.execute("command -v "..name.." >/dev/null") == 0
return os.execute("command -v "..name.." >/dev/null") ~= false
end


Expand Down

0 comments on commit f31403c

Please sign in to comment.