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