diff options
| author | ruki <[email protected]> | 2017-05-17 21:43:04 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-05-17 21:43:04 +0800 |
| commit | c315b83eb9a5b84aeab8fb1f93a9086664f5177e (patch) | |
| tree | 34f49bfe3f37a309c24a62a6b6e417e631c1889f /xmake/modules/lib/detect/find_git.lua | |
| parent | b406ed83128331bf9360154606fbcde2ca4f325d (diff) | |
add find gzip module
Diffstat (limited to 'xmake/modules/lib/detect/find_git.lua')
| -rw-r--r-- | xmake/modules/lib/detect/find_git.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/lib/detect/find_git.lua b/xmake/modules/lib/detect/find_git.lua index de34651ec..00665d8be 100644 --- a/xmake/modules/lib/detect/find_git.lua +++ b/xmake/modules/lib/detect/find_git.lua @@ -46,7 +46,7 @@ function main(argv) -- find program version local version = nil - if argv and argv.version then + if program and argv and argv.version then version = find_programver(program) end |
