diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2010-09-23 01:46:16 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2010-09-23 01:46:16 -0300 |
| commit | 40699de5c269507f0a70af1106ea1894d0d965ed (patch) | |
| tree | c3fdff17f73c278a598d730425c0cf718fa40600 /src | |
| parent | d051ad5a21b653dbc5845900b5c4e734d92073c1 (diff) | |
| download | luarocks-40699de5c269507f0a70af1106ea1894d0d965ed.tar.gz luarocks-40699de5c269507f0a70af1106ea1894d0d965ed.tar.bz2 luarocks-40699de5c269507f0a70af1106ea1894d0d965ed.zip | |
modify messages
Diffstat (limited to 'src')
| -rw-r--r-- | src/luarocks/fetch/git.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luarocks/fetch/git.lua b/src/luarocks/fetch/git.lua index f2f17fb5..6305d781 100644 --- a/src/luarocks/fetch/git.lua +++ b/src/luarocks/fetch/git.lua | |||
| @@ -39,12 +39,12 @@ function get_sources(rockspec, extract, dest_dir) | |||
| 39 | end | 39 | end |
| 40 | fs.change_dir(store_dir) | 40 | fs.change_dir(store_dir) |
| 41 | if not fs.execute(unpack(command)) then | 41 | if not fs.execute(unpack(command)) then |
| 42 | return nil, "Failed fetching files from GIT while cloning." | 42 | return nil, "Failed cloning git repository." |
| 43 | end | 43 | end |
| 44 | fs.change_dir(module) | 44 | fs.change_dir(module) |
| 45 | if checkout_command then | 45 | if checkout_command then |
| 46 | if not fs.execute(unpack(checkout_command)) then | 46 | if not fs.execute(unpack(checkout_command)) then |
| 47 | return nil, "Failed fetching files from GIT while getting tag/branch." | 47 | return nil, "Failed checking out tag/branch from git repository." |
| 48 | end | 48 | end |
| 49 | end | 49 | end |
| 50 | fs.delete(".git") | 50 | fs.delete(".git") |
