mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
Make mklib propogate all errors
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Signed-off-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
205c9659cf
commit
d6f55492af
1 changed files with 6 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue