mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
tools/mkpkg/update_retroplayer-addons: use single branch
This commit is contained in:
parent
1df41ecfbe
commit
6ae99dcc6b
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user