aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/build/module
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-11-29 22:56:48 +0000
committerFrancis Rowe <info@gluglug.org.uk>2015-11-29 22:56:48 +0000
commita6a7f8723564a67bc10c6f879fde528589a6521b (patch)
treec9ccf22734fd879617e27e047ecb7047feeef423 /resources/scripts/helpers/build/module
parentb2c87be0ae8c70bc57963cfe508bd0fa7288b20f (diff)
downloadlibrebootfr-a6a7f8723564a67bc10c6f879fde528589a6521b.tar.gz
librebootfr-a6a7f8723564a67bc10c6f879fde528589a6521b.zip
grub: only run distclean if a makefile exists (fixes build error)
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 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