summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2015-07-18 23:47:12 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2015-07-18 23:47:12 +0200
commitd6bc08610bbc3ea3bf6daaa5d954e6b932ce7833 (patch)
tree35b362c6c7a1a5b169765ad853a888d10813e730
parentc154d82557a4a7642510ee9a4f0c1a8efb9af7e2 (diff)
downloadvim-polyglot-d6bc08610bbc3ea3bf6daaa5d954e6b932ce7833.tar.gz
vim-polyglot-d6bc08610bbc3ea3bf6daaa5d954e6b932ce7833.zip
Faster build (download archives instead of cloning)v2.0.0
-rwxr-xr-xbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/build b/build
index 9a4d8be0..58d15904 100755
--- a/build
+++ b/build
@@ -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