diff --git a/tools/mkpkg/mkpkg_kodi b/tools/mkpkg/mkpkg_kodi index 9e057c907f..6ffdf8fcf2 100755 --- a/tools/mkpkg/mkpkg_kodi +++ b/tools/mkpkg/mkpkg_kodi @@ -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