summaryrefslogtreecommitdiffstats
path: root/infest
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2013-01-23 16:37:44 +0000
committermakefu <root@pigstarter.de>2013-01-23 16:37:44 +0000
commit300eafb32422512ced5466197de058d0d909f9be (patch)
tree7721375ded2656de1c0c973edd61e8aeaba29dda /infest
parentd8c10ba40b51f4ebd50297dc66c098930ce33691 (diff)
create shallow clone when bootstrapping
Diffstat (limited to 'infest')
-rw-r--r--infest/bootstrap.sh2
1 files changed, 1 insertions, 1 deletions
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