Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=439b06054b3824aa86550cca41c2d1603d26ec28
commit 439b06054b3824aa86550cca41c2d1603d26ec28 Author: Miklos Vajna <[email protected]> Date: Sun Oct 25 21:58:02 2009 +0100 scm.sh: add _F_scm_git_cloneopts - for example using _F_scm_git_cloneopts="--depth 1" in case we know we want to build the last commit speeds up the build diff --git a/source/include/scm.sh b/source/include/scm.sh index 67fb911..42ef582 100644 --- a/source/include/scm.sh +++ b/source/include/scm.sh @@ -138,7 +138,7 @@ Funpack_scm() cd $pkgname git pull && git checkout -f else - git clone $_F_scm_url $pkgname || Fdie + git clone $_F_scm_git_cloneopts $_F_scm_url $pkgname || Fdie cd $pkgname fi if [ -n "$_F_scm_tag" ]; then _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
