aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgen-setup.sh2
-rwxr-xr-xsetup.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/gen-setup.sh b/gen-setup.sh
index 00d2cf7..878a603 100755
--- a/gen-setup.sh
+++ b/gen-setup.sh
@@ -37,7 +37,7 @@ clone() {
elif ! [ -d "$DIR" ] ; then
mkdir -p "$DIR"
cd "$DIR"
- git clone "$URL" .
+ git clone --depth=1 "$URL" .
fi
cd $WD
}' > setup.sh
diff --git a/setup.sh b/setup.sh
index 77ee4d9..a980c14 100755
--- a/setup.sh
+++ b/setup.sh
@@ -10,7 +10,7 @@ clone() {
elif ! [ -d "$DIR" ] ; then
mkdir -p "$DIR"
cd "$DIR"
- git clone "$URL" .
+ git clone --depth=1 "$URL" .
fi
cd $WD
}