Because this is Australia and --depth 1 is a lifesaver. One without a snazzy red-yellow cap though.
Signed-off-by: Peter Hutterer <[email protected]> --- build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 9cb6a85..a1260ad 100755 --- a/build.sh +++ b/build.sh @@ -137,6 +137,8 @@ # Each module/components is invoked with --quite # GITROOT Source code repository path [git://anongit.freedesktop.org/git] # Optional when using --clone to update source code before building +# GITCLONEOPTS Options passed to git clone. +# Optional when using --clone to update source code before building # CONFFLAGS Configure options to pass to all Autoconf configure scripts # Refer to 'configure --help' from any module/components # @@ -529,7 +531,7 @@ clone() { GITROOT=${GITROOT:="git://anongit.freedesktop.org/git"} if [ ! -d "$DIR" ]; then - git clone "$GITROOT/$BASEDIR$DIR" "$DIR" + git clone $GITCLONEOPTS "$GITROOT/$BASEDIR$DIR" "$DIR" if [ $? -ne 0 ]; then echo "Failed to clone $module${component:+/}$component. Ignoring." clonefailed_components="$clonefailed_components $module${component:+/}$component" -- 2.13.5 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
