summaryrefslogtreecommitdiffstats
path: root/scripts/contrib/documentation-audit.sh
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2014-07-16 14:16:02 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-19 00:09:00 +0100
commitdb162c6f564218b678b68f72e1dd4cdab3c3110f (patch)
tree26774807fe065890cba345ac6de3c1fcef8d1c41 /scripts/contrib/documentation-audit.sh
parentfd8a230e1acda64e7cd1ad4fb7668b9c58b9228a (diff)
downloadpoky-db162c6f564218b678b68f72e1dd4cdab3c3110f.tar.gz
mkefidisk.sh: Add die() and cleanup() routines
Currently the script will attempt to continue even after a fatal error. Add a die() routine which will abort in the case of a fatal error and call a cleanup() routine to unmount any images or devices and remove the TMPDIR. Move the variable assignment and directory creation earlier in the script, making it more obvious what we need to clean up. (From OE-Core rev: 40fe82fecf7a94b24893862ac17ee2bc749fc5e8) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib/documentation-audit.sh')
0 files changed, 0 insertions, 0 deletions