diff options
-rwxr-xr-x | resources/scripts/helpers/build/clean/grub | 2 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/module/grub | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/resources/scripts/helpers/build/clean/grub b/resources/scripts/helpers/build/clean/grub index 6c96e851..1d0f5bec 100755 --- a/resources/scripts/helpers/build/clean/grub +++ b/resources/scripts/helpers/build/clean/grub @@ -27,6 +27,6 @@ set -u -e printf "Cleaning the previous build of GRUB\n" # clean GURB -make -C grub distclean +[ -d grub/Makefile ] && make -C grub distclean printf "\n\n" diff --git a/resources/scripts/helpers/build/module/grub b/resources/scripts/helpers/build/module/grub index 030dd952..e96b7e73 100755 --- a/resources/scripts/helpers/build/module/grub +++ b/resources/scripts/helpers/build/module/grub @@ -33,7 +33,7 @@ printf "Building GRUB\n" cd "grub/" # clean it first -make distclean +[ -d Makefile ] && make distclean # build grub ./autogen.sh |