summaryrefslogtreecommitdiffstats
path: root/getgrub
diff options
context:
space:
mode:
authorFrancis 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)
commitd6b7998acadd9dc087ab44a50bedd1995104ddbc (patch)
tree087d61d786c54f27d58e58ff4d82d287a4de57c5 /getgrub
parent7193d65809a841147097fb35866a7806f746b0f7 (diff)
downloadlibreboot-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 'getgrub')
-rwxr-xr-xgetgrub2
1 files changed, 2 insertions, 0 deletions
diff --git a/getgrub b/getgrub
index 837c517..8687905 100755
--- a/getgrub
+++ b/getgrub
@@ -18,6 +18,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+set -u -e -v
+
# Get GRUB, revert to commit last used and apply patches.
# Remove the old version that may still exist