Skip to content

Commit

Permalink
Merge pull request #5465 from xmake-io/lock
Browse files Browse the repository at this point in the history
fix lock repo
  • Loading branch information
waruqi authored Aug 14, 2024
2 parents 80e47b7 + 0a837a0 commit 53d5d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/modules/private/action/require/impl/repository.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function _get_packagedir_from_locked_repo(packagename, locked_repo)
break
end
end
local reponame = hash.uuid(locked_repo.url):gsub("%-", ""):lower() .. ".lock"
local reponame = hash.uuid(locked_repo.url .. (locked_repo.commit or "")):gsub("%-", ""):lower() .. ".lock"

-- get local repodir
local repodir_local
Expand Down

0 comments on commit 53d5d26

Please sign in to comment.