aboutsummaryrefslogtreecommitdiff
path: root/projects/grub
diff options
context:
space:
mode:
Diffstat (limited to 'projects/grub')
-rwxr-xr-xprojects/grub/grub34
1 files changed, 13 insertions, 21 deletions
diff --git a/projects/grub/grub b/projects/grub/grub
index 3daca888..ada5c338 100755
--- a/projects/grub/grub
+++ b/projects/grub/grub
@@ -23,10 +23,6 @@ dependencies() {
project_dependencies "$project" "$@"
}
-dependencies_check() {
- project_dependencies_check "$project" "$@"
-}
-
usage() {
project_usage_actions "$project"
project_usage_arguments "$project" "$@"
@@ -79,28 +75,24 @@ build() {
local build_path="$(project_build_path "$project" "$@")"
local raw_keymap_path="$project_path/$CONFIGS/keymaps"
- (
- set -e
+ mkdir -p "$build_path"
- mkdir -p "$build_path"
+ grub_build_utils
- grub_build_utils
-
- if [[ "$target" == 'bios' ]]; then
- grub_build_floppy_image
- else
- grub_build_standalone_image
- fi
+ if [[ "$target" == 'bios' ]]; then
+ grub_build_floppy_image
+ else
+ grub_build_standalone_image
+ fi
- for raw_keymap in "$raw_keymap_path"/*; do
- grub_build_layout "$raw_keymap"
- done
+ for raw_keymap in "$raw_keymap_path"/*; do
+ grub_build_layout "$raw_keymap"
+ done
- grub_build_font
- grub_copy_modules
+ grub_build_font
+ grub_copy_modules
- make -C "$sources_path" distclean
- )
+ make -C "$sources_path" distclean
}
build_check() {