diff options
author | Stefano Azzalini <steazzalini@users.noreply.github.com> | 2017-12-05 08:00:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-05 08:00:43 +0100 |
commit | 0a2b2f5cf4d1b2a87c07cd2ad73219143bac6e3a (patch) | |
tree | c1b44a3474576c4ef6a3467766498a86ca321414 | |
parent | 00fafae94b1c92399c4a990844efaffa7089b930 (diff) |
Clone mingw-w64 using --depth 1
Full git history is not necessary to run the build. This speed up the cloning process as well
-rw-r--r-- | mingw-w64-build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mingw-w64-build b/mingw-w64-build index b311cf2..5758577 100644 --- a/mingw-w64-build +++ b/mingw-w64-build @@ -82,7 +82,7 @@ download_sources() cd "$src" || error_exit echo "downloading mingw-w64-git" >&3 - git clone git://git.code.sf.net/p/mingw-w64/mingw-w64 "mingw-w64-git" || error_exit + git clone --depth 1 git://git.code.sf.net/p/mingw-w64/mingw-w64 "mingw-w64-git" || error_exit local urls=( "http://ftp.gnu.org/gnu/binutils/binutils-$v_binutils.tar.bz2" @@ -262,4 +262,4 @@ for arch in $@; do done rm -fr "$wd/bld" "$wd/src" -exit 0
\ No newline at end of file +exit 0 |