From a6a7f8723564a67bc10c6f879fde528589a6521b Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sun, 29 Nov 2015 17:56:48 -0500 Subject: grub: only run distclean if a makefile exists (fixes build error) --- (limited to 'resources/scripts/helpers/build/module/grub') 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 -- cgit v0.9.1