summaryrefslogtreecommitdiff
path: root/xmake/modules/detect/tool/find_git.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/detect/tool/find_git.lua')
-rw-r--r--xmake/modules/detect/tool/find_git.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/tool/find_git.lua b/xmake/modules/detect/tool/find_git.lua
index 666d79d25..12f08978d 100644
--- a/xmake/modules/detect/tool/find_git.lua
+++ b/xmake/modules/detect/tool/find_git.lua
@@ -42,7 +42,7 @@ import("lib.detect.find_programver")
function main(opt)
-- find program
- local program = find_program("git", { "/usr/bin", "/usr/local/bin"})
+ local program = find_program("git")
-- find program version
local version = nil