diff options
| author | ruki <[email protected]> | 2023-08-08 22:28:39 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-08-08 22:28:39 +0800 |
| commit | b30f8296b46a14f4ba4cec9fb0b81a6876d40d0c (patch) | |
| tree | 9015800f75a6040722f382a0831a46b7f1f60a12 | |
| parent | 6eb5d22f95a757581ce61d45eed015ef4f7da436 (diff) | |
fix revision
| -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 3d7dbb23e..6efded860 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -466,7 +466,7 @@ function _instance:sourcehash(url_alias) if not sourcehash then sourcehash = versions[version_str] end - if sourcehash then + if sourcehash and #sourcehash == 40 then sourcehash = sourcehash:lower() end return sourcehash |
