From 4e7ef0824c74db2aa27c7230da129e91ef8a13f9 Mon Sep 17 00:00:00 2001 From: Chen Yufei Date: Wed, 16 Mar 2022 10:28:36 +0800 Subject: fix typo and grammar. --- xmake/modules/private/action/require/impl/actions/install.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xmake/modules/private/action/require/impl/actions/install.lua b/xmake/modules/private/action/require/impl/actions/install.lua index 5e8b84f26..81068a6e3 100644 --- a/xmake/modules/private/action/require/impl/actions/install.lua +++ b/xmake/modules/private/action/require/impl/actions/install.lua @@ -100,11 +100,11 @@ end -- fix paths for the precompiled package -- @see https://github.com/xmake-io/xmake/issues/1671 function _fix_paths_for_precompiled_package(package) - -- Matches to path like (string inside brackets is matched): + -- Match to path like (string insides brackets is matched): -- /home/user/.xmake[/pacakges/f/foo/9adc96bd69124211aad7dd58a36f02ce/]v1.0 - -- Replaces path string before "packages" with local pacakge install + -- Replace path string before "packages" with local pacakge install -- directory. - -- Note: It's possible that package A references files package B, thus we + -- Note: It's possible that package A references files in package B, thus we -- need to match against all possible package install paths. local buildhash_pattern = string.rep('%x', 32) local match_pattern = "[\\/]packages[\\/]%w[\\/][^\\/]+[\\/][^\\/]+[\\/]" .. buildhash_pattern .. "[\\/]" -- cgit v1.3.1