From 6262f0ac8f0e58c596bf9dbed0392d115f84dfcc Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Tue, 31 Jan 2023 05:20:56 +0100 Subject: [PATCH] armbian-next: u-boot: mark bare repo as safe before using it (@TODO `git_ensure_safe_directory()` stuff, again) --- lib/functions/compilation/uboot-git.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/functions/compilation/uboot-git.sh b/lib/functions/compilation/uboot-git.sh index df00178176..c8464aca7d 100644 --- a/lib/functions/compilation/uboot-git.sh +++ b/lib/functions/compilation/uboot-git.sh @@ -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"