From 300eafb32422512ced5466197de058d0d909f9be Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 23 Jan 2013 16:37:44 +0000 Subject: create shallow clone when bootstrapping --- infest/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'infest') diff --git a/infest/bootstrap.sh b/infest/bootstrap.sh index 723e78f0..66a1cfdd 100644 --- a/infest/bootstrap.sh +++ b/infest/bootstrap.sh @@ -14,7 +14,7 @@ command -v git || \ pacman -Sy git || \ { echo "please install git manually!"; exit 1;} || exit 1 -[ -e "$KREBSDIR" ] || git clone https://github.com/krebscode/painload.git "$KREBSDIR" \ +[ -e "$KREBSDIR" ] || git clone --depth 1 https://github.com/krebscode/painload.git "$KREBSDIR" \ || { echo "cloning failed :(" ; exit 1; } || exit 1 cd $KREBSDIR || { echo "cannot change into $KREBSDIR folder:(" ; exit 1; } || exit 1 -- cgit v1.2.3