diff options
| author | ruki <[email protected]> | 2018-10-02 21:01:39 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-10-02 00:09:57 +0800 |
| commit | 4248b37344ac119834ed633fabe94673caeb46d0 (patch) | |
| tree | c00550663382509981693f40fd0552d178ff9fdf /xmake/modules/devel/git | |
| parent | 661909c4299c0b4eb511921269a2948c0aa9ad7c (diff) | |
improve to link and copy package
Diffstat (limited to 'xmake/modules/devel/git')
| -rw-r--r-- | xmake/modules/devel/git/checkurl.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/devel/git/checkurl.lua b/xmake/modules/devel/git/checkurl.lua index d0b937e1c..df7441e81 100644 --- a/xmake/modules/devel/git/checkurl.lua +++ b/xmake/modules/devel/git/checkurl.lua @@ -29,5 +29,5 @@ -- @return true or false -- function main(url) - return url:endswith(".git") or os.isdir(url .. ".git") + return url:endswith(".git") or url:startswith("git://") or os.isdir(url .. ".git") end |
