summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbootstrap17
1 files changed, 17 insertions, 0 deletions
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"
}
@@ -33,6 +41,15 @@ build() {
echo "----------------------------------"
echo
+echo " Preparing build environment... "
+echo
+echo "----------------------------------"
+echo -e "\n"
+
+prepare
+
+echo "----------------------------------"
+echo
echo " Fetching sources... "
echo
echo "----------------------------------"