diff options
author | Francis Rowe <info@gluglug.org.uk> | 2014-11-09 04:54:51 (EST) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2014-11-09 04:54:51 (EST) |
commit | d6b7998acadd9dc087ab44a50bedd1995104ddbc (patch) | |
tree | 087d61d786c54f27d58e58ff4d82d287a4de57c5 /resources/utilities/grub-assemble/gen.sh | |
parent | 7193d65809a841147097fb35866a7806f746b0f7 (diff) | |
download | libreboot-d6b7998acadd9dc087ab44a50bedd1995104ddbc.zip libreboot-d6b7998acadd9dc087ab44a50bedd1995104ddbc.tar.gz libreboot-d6b7998acadd9dc087ab44a50bedd1995104ddbc.tar.bz2 |
Error checking
Add set -e -u -v to all scripts.
flash, lenovobios_firstflash, lenovobios_secondflash
and macbook21_firstflash only have -v set because
these are expected to have errors
powertop.trisquel6 has nothing added.
Diffstat (limited to 'resources/utilities/grub-assemble/gen.sh')
-rwxr-xr-x | resources/utilities/grub-assemble/gen.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/utilities/grub-assemble/gen.sh b/resources/utilities/grub-assemble/gen.sh index 880fa66..fb1896b 100755 --- a/resources/utilities/grub-assemble/gen.sh +++ b/resources/utilities/grub-assemble/gen.sh @@ -4,6 +4,8 @@ # notice and this notice are preserved. This file is offered as-is, # without any warranty. +set -u -e -v + # TODO: Fail (and clean up) if GRUB isn't actually built. Error checking. # This is where GRUB is expected to be (outside of the grub-assemble, instead in main checkout) |