diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2015-07-18 23:47:12 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2015-07-18 23:47:12 +0200 |
commit | d6bc08610bbc3ea3bf6daaa5d954e6b932ce7833 (patch) | |
tree | 35b362c6c7a1a5b169765ad853a888d10813e730 | |
parent | c154d82557a4a7642510ee9a4f0c1a8efb9af7e2 (diff) | |
download | vim-polyglot-2.0.0.tar.gz vim-polyglot-2.0.0.zip |
Faster build (download archives instead of cloning)v2.0.0
-rwxr-xr-x | build | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ download() { path="$(printf "$pack" | cut -d ':' -f 2)" dir="tmp/$(printf "$path" | cut -d '/' -f 2)" rm -rf "$dir" - (git clone -q --recursive "https://github.com/$path.git" "$dir" && printf '.') & + (mkdir -p "$dir" && curl --silent -L https://codeload.github.com/$path/tar.gz/master | tar -zx -C "$dir" --strip 1 && printf '.') & done wait |