summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTitanSnow <[email protected]>2017-05-07 09:44:09 +0800
committerTitanSnow <[email protected]>2017-05-07 09:44:09 +0800
commit6051ccefdc1d57e355f6ad93ebdac0fdb4e40c1e (patch)
tree00d2ebe6ac61da4bc2c40de372b2fe777fce3a39 /scripts
parentaccfa6b85702c4264b9b68cd3de78fbf4214d4be (diff)
depth=50 to go back
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/get.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get.sh b/scripts/get.sh
index e25480675..393ac4d6f 100755
--- a/scripts/get.sh
+++ b/scripts/get.sh
@@ -61,7 +61,7 @@ then
fi
if [ 'x-b __local__' != "x$branch" ]
then
- git clone --depth=1 $branch https://github.com/tboox/xmake.git /tmp/$$xmake_getter || my_exit 'Clone Fail'
+ git clone --depth=50 $branch https://github.com/tboox/xmake.git /tmp/$$xmake_getter || my_exit 'Clone Fail'
if [ x != "x$2" ]
then
cd /tmp/$$xmake_getter || my_exit 'Chdir Error'