From d6bc08610bbc3ea3bf6daaa5d954e6b932ce7833 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 18 Jul 2015 23:47:12 +0200 Subject: Faster build (download archives instead of cloning) --- build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3