diff options
| -rwxr-xr-x | gen-setup.sh | 2 | ||||
| -rwxr-xr-x | setup.sh | 2 |
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 @@ -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 } |
