summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2022-05-21 00:55:29 +0800
committerruki <[email protected]>2022-05-21 00:55:29 +0800
commit7c7c96984572ddec1319bc3963429897ace001b2 (patch)
tree2985a451d5bfda54a4b567f85aad9ae12dfe6a6b /scripts
parentadb495c2069ad4663360ab7230f8dd6a8895de14 (diff)
update readme
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 e2924a322..3844d6185 100755
--- a/scripts/get.sh
+++ b/scripts/get.sh
@@ -188,7 +188,7 @@ else
cd $projectdir || my_exit 'Chdir Error'
git checkout -qf "$2"
cd - || my_exit 'Chdir Error'
- else
+ else
git clone --depth=1 -b "$branch" "$gitrepo" --recurse-submodules $projectdir || my_exit "$(echo -e 'Clone Fail\nCheck your network or branch name')"
fi
fi