Commit d6f55492 authored by Jon TURNEY's avatar Jon TURNEY Committed by Brian Paul

Make mklib propogate all errors

Signed-off-by: default avatarJon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: default avatarBrian Paul <brianp@vmware.com>
parent 205c9659
......@@ -24,6 +24,12 @@
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# propagate any errors
function errtrap {
es=$?
exit $es
}
trap errtrap ERR
# Given a list of files, look for .a archives and unpack them.
# Return the original list of files minus the .a files plus the unpacked files.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment