* config.guess: No need to explicitly save $? in the EXIT trap

handler. This allows the same trap handler to be used as for other
	common signals.
This commit is contained in:
Ben Elliston 2018-12-07 08:08:51 +11:00
parent 058639be22
commit c262b492d5
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2018-12-07 Ben Elliston <bje@gnu.org>
* config.guess: No need to explicitly save $? in the EXIT trap
handler. This allows the same trap handler to be used as for other
common signals.
2018-11-26 Lauri Tirkkonen <lotheac@iki.fi>
* config.guess (*:Unleashed:*:*): New.

5
config.guess vendored
View File

@ -2,7 +2,7 @@
# Attempt to guess a canonical system name.
# Copyright 1992-2018 Free Software Foundation, Inc.
timestamp='2018-11-28'
timestamp='2018-12-07'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@ -96,8 +96,7 @@ fi
tmp=
# shellcheck disable=SC2172
trap 'test -z "$tmp" || rm -fr "$tmp"' 1 2 13 15
trap 'exitcode=$?; test -z "$tmp" || rm -fr "$tmp"; exit $exitcode' 0
trap 'test -z "$tmp" || rm -fr "$tmp"' 0 1 2 13 15
set_cc_for_build() {
: "${TMPDIR=/tmp}"