armbian-next: u-boot: mark bare repo as safe before using it (@TODO git_ensure_safe_directory() stuff, again)

This commit is contained in:
Ricardo Pardini
2023-01-31 05:20:56 +01:00
parent 7431984025
commit 6262f0ac8f

View File

@@ -27,6 +27,7 @@ function uboot_prepare_git() {
# Prepare the git bare repo for u-boot.
declare uboot_git_bare_tree
uboot_prepare_bare_repo # this sets uboot_git_bare_tree
git_ensure_safe_directory "${uboot_git_bare_tree}"
display_alert "Downloading sources" "u-boot; BOOTSOURCEDIR=${BOOTSOURCEDIR}" "git"