Merge pull request #374 from wpferguson/which_deprecation_369

Fix dtutils/file.lua deprecation warning
This commit is contained in:
wpferguson
2021-12-28 20:50:21 -05:00
committed by GitHub

View File

@@ -191,7 +191,7 @@ end
local function _search_for_bin_nix(bin)
local result = false
local p = io.popen("which " .. bin)
local p = io.popen("command -v " .. bin)
local output = p:read("*a")
p:close()
if string.len(output) > 0 then