tools/mkpkg/update_retroplayer-addons: use single branch

This commit is contained in:
Lukas Rusak 2017-09-05 10:35:29 -07:00
parent 1df41ecfbe
commit 6ae99dcc6b
No known key found for this signature in database
GPG Key ID: 8C310C807E7393A3

View File

@ -21,7 +21,7 @@ git_clone() {
# git_clone https://repo.url branch ./target_dir [githash]
echo "[mkpkg] Checking out $1 ..."
if [ ! -d "$3" ]; then
git clone --recursive "$1" -b $2 "$3"
git clone --single-branch --depth=1 --recursive "$1" -b $2 "$3"
else
if [ -d "$3" ] ; then
cd "$3"