summaryrefslogtreecommitdiff
path: root/resources/scripts/build/payload/seabios
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/build/payload/seabios')
-rwxr-xr-xresources/scripts/build/payload/seabios7
1 files changed, 2 insertions, 5 deletions
diff --git a/resources/scripts/build/payload/seabios b/resources/scripts/build/payload/seabios
index c05b1b11..e6ae28f9 100755
--- a/resources/scripts/build/payload/seabios
+++ b/resources/scripts/build/payload/seabios
@@ -1,9 +1,8 @@
-#!/usr/bin/env sh
+#!/usr/bin/env bash
# helper script: builds SeaBIOS source code
#
# Copyright (C) 2020, 2021, 2023 Leah Rowe <info@minifree.org>
-# Copyright (C) 2022 Ferass El Hafidi <vitali64pmemail@protonmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -34,9 +33,7 @@ main()
build_seabios_payloads
# clean it again. gotta keep it clean!
- if [ -f seabios/Makefile ]; then
- make distclean -BC seabios || exit 1
- fi
+ [[ -f Makefile ]] && make -C seabios distclean
printf "Done! SeaBIOS files are in %s/\n\n" ${payloaddir}
}