summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/clean/grub
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/helpers/build/clean/grub')
-rwxr-xr-xresources/scripts/helpers/build/clean/grub2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/scripts/helpers/build/clean/grub b/resources/scripts/helpers/build/clean/grub
index 6c96e85..1d0f5be 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"