mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
mkpkg_kodi: git clone without history
- saves a lot bandwith + faster
This commit is contained in:
parent
48b996f64f
commit
315ec1c583
@ -30,7 +30,7 @@ DEST_DIR="$PKG_NAME-$BRANCH"
|
||||
|
||||
echo "getting sources..."
|
||||
if [ ! -d $DEST_DIR.git ]; then
|
||||
git clone $GIT_REPO -b $BRANCH $DEST_DIR.git
|
||||
git clone --depth 1 $GIT_REPO -b $BRANCH $DEST_DIR.git
|
||||
fi
|
||||
|
||||
cd $DEST_DIR.git
|
||||
|
Loading…
x
Reference in New Issue
Block a user