mkpkg_kodi: git clone without history

- saves a lot bandwith + faster
This commit is contained in:
CvH 2016-02-21 14:16:32 +01:00
parent 48b996f64f
commit 315ec1c583

View File

@ -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