diff options
author | Ian Moffett <ian@osmora.org> | 2025-03-27 02:27:46 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-03-27 02:27:46 -0400 |
commit | 65a31ede4eb06b4811a802f0d659aac3fd03333c (patch) | |
tree | 8c448b5811d1e11c19ab3a04b644fc536c71f831 /bootstrap | |
parent | c772d185ddf06de7650ea3da2f644d4900de76b4 (diff) |
build: bootstrap: Prepare environment
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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" } @@ -33,6 +41,15 @@ build() { echo "----------------------------------" echo +echo " Preparing build environment... " +echo +echo "----------------------------------" +echo -e "\n" + +prepare + +echo "----------------------------------" +echo echo " Fetching sources... " echo echo "----------------------------------" |