diff options
author | Karl Berry <karl@freefriends.org> | 2019-12-23 00:54:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-12-23 00:54:28 +0000 |
commit | 8e0008903f054fd90b7f44ee8aaeb6b4dc6644a7 (patch) | |
tree | 89dea5ebfce721a3707a8a38ed942dff5eb27354 /Build/source/build-aux | |
parent | a2b4a8ba277f9753bb4733f04e7c5ca572d49952 (diff) |
tl-update-auto
git-svn-id: svn://tug.org/texlive/trunk@53215 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/build-aux')
-rwxr-xr-x | Build/source/build-aux/config.guess | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/build-aux/config.guess b/Build/source/build-aux/config.guess index 7f9ebbe3109..95b16c7747a 100755 --- a/Build/source/build-aux/config.guess +++ b/Build/source/build-aux/config.guess @@ -2,7 +2,7 @@ # Attempt to guess a canonical system name. # Copyright 1992-2019 Free Software Foundation, Inc. -timestamp='2019-09-10' +timestamp='2019-12-21' # 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 @@ -99,6 +99,8 @@ tmp= trap 'test -z "$tmp" || rm -fr "$tmp"' 0 1 2 13 15 set_cc_for_build() { + # prevent multiple calls if $tmp is already set + test "$tmp" && return 0 : "${TMPDIR=/tmp}" # shellcheck disable=SC2039 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || @@ -924,7 +926,7 @@ EOF echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; alpha:Linux:*:*) - case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' /proc/cpuinfo 2>/dev/null` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; |