Merge pull request #4744 from CvH/patch-3

mkpkg_kodi: git clone without history
This commit is contained in:
Lukas Rusak 2016-02-22 01:50:21 -08:00
commit b0de6347b3

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