summaryrefslogtreecommitdiffstats
path: root/makesrc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'makesrc.sh')
-rwxr-xr-xmakesrc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/makesrc.sh b/makesrc.sh
index 3f387cf..b7140d8 100755
--- a/makesrc.sh
+++ b/makesrc.sh
@@ -17,7 +17,7 @@ fi
echo "Cloning..."
rm -rf $PROJECT-$VERSION
-git clone --recursive https://github.com/$OWNER/$PROJECT.git -b $VERSION $PROJECT-$VERSION
+git clone --depth 1 --recursive https://github.com/$OWNER/$PROJECT.git -b $VERSION $PROJECT-$VERSION
echo "Composer..."
pushd $PROJECT-$VERSION