From 65a31ede4eb06b4811a802f0d659aac3fd03333c Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 27 Mar 2025 02:27:46 -0400 Subject: build: bootstrap: Prepare environment Signed-off-by: Ian Moffett --- bootstrap | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/bootstrap b/bootstrap index 7d523b4..6186385 100755 --- a/bootstrap +++ b/bootstrap @@ -14,6 +14,14 @@ try_fetch() { fi } +prepare() { + if [[ -d .git/ ]] + then + # Copy git hooks + cp -v builddeps/hooks/* .git/ + fi +} + fetch() { try_fetch "git clone https://github.com/limine-bootloader/limine.git --branch=v6.x-branch-binary --depth=1" "stand/limine" } @@ -31,6 +39,15 @@ build() { build_kconf } +echo "----------------------------------" +echo +echo " Preparing build environment... " +echo +echo "----------------------------------" +echo -e "\n" + +prepare + echo "----------------------------------" echo echo " Fetching sources... " -- cgit v1.2.3