diff options
| author | ruki <[email protected]> | 2020-12-01 23:37:37 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-12-01 23:37:37 +0800 |
| commit | 87374404384ed1fad21e7c50b0707bf211cf2779 (patch) | |
| tree | f8e98578846b706523b8128af7c3b9558156e2c3 | |
| parent | 52c431aaf71cf15c2f926657c60f20ce47309467 (diff) | |
fix find_program
| -rw-r--r-- | xmake/core/sandbox/modules/import/lib/detect/find_program.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/import/lib/detect/find_program.lua b/xmake/core/sandbox/modules/import/lib/detect/find_program.lua index 8c8dc7728..762c3c2b8 100644 --- a/xmake/core/sandbox/modules/import/lib/detect/find_program.lua +++ b/xmake/core/sandbox/modules/import/lib/detect/find_program.lua @@ -123,7 +123,7 @@ end function sandbox_lib_detect_find_program._find_from_packages(name, opt) -- get the manifest file of package, e.g. ~/.xmake/packages/g/git/1.1.12/ed41d5327fad3fc06fe376b4a94f62ef/manifest.txt - local manifest_file = path.join(package.installdir(), name:sub(1, 1), name, opt.version, opt.buildhash, "manifest.txt") + local manifest_file = path.join(package.installdir(), name:sub(1, 1), name, opt.require_version, opt.buildhash, "manifest.txt") if not os.isfile(manifest_file) then return end |
