diff options
| author | ruki <[email protected]> | 2023-09-19 22:34:01 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-09-19 22:34:01 +0800 |
| commit | fe430171e5f9cfe5e539e8dd007e33d3f96853c2 (patch) | |
| tree | f77797bc3e2de72920cd11ace8fd49c904ca4890 | |
| parent | 00fe8d37c2f6ebe818d2d755d97c2a5a0bd1d6a8 (diff) | |
fix sourcedir #4213
| -rw-r--r-- | xmake/core/package/package.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua index fa409aace..d0c6ecd88 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -615,7 +615,7 @@ end -- is local embed source code package? -- we install directly from the local source code instead of downloading it remotely function _instance:is_source_embed() - return self:get("sourcedir") and #self:urls() == 0 and self:script("install") + return self:get("sourcedir") and self:script("install") end -- is local embed binary package? it's come from `xmake package` |
