diff --git a/tools/mkpkg/update_retroplayer-addons b/tools/mkpkg/update_retroplayer-addons index 8e6eb52e50..9c00276a46 100755 --- a/tools/mkpkg/update_retroplayer-addons +++ b/tools/mkpkg/update_retroplayer-addons @@ -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"