diff options
Diffstat (limited to 'xmake')
| -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 f6d7963b7..692be9ae8 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -3063,7 +3063,7 @@ function package.load_from_repository(packagename, packagedir, opt) end -- new an instance - instance = _instance.new(packagename, packageinfo, {scriptdir = path.directory(scriptpath), repo = repo}) + instance = _instance.new(packagename, packageinfo, {scriptdir = path.directory(scriptpath), repo = opt.repo}) -- reset plat/arch if opt.plat then |
