summaryrefslogtreecommitdiffstats
path: root/flash
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 /flash
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 'flash')
-rwxr-xr-xflash4
1 files changed, 4 insertions, 0 deletions
diff --git a/flash b/flash
index ac9a29f..9fd2f97 100755
--- a/flash
+++ b/flash
@@ -18,6 +18,10 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+## Don't add here. errors are expected.
+# set -u -e -v
+set -v
+
# USE ROOT OR SUDO WHEN EXECUTING THIS
# uses flashrom to flash the rom