diff options
author | Norbert Preining <norbert@preining.info> | 2019-12-25 03:00:52 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-12-25 03:00:52 +0000 |
commit | 3009cc3d943aa281945de7d2204ebbe359bd405f (patch) | |
tree | 10b930a9fb352601935aee9590fda5b6785f1658 /systems/texlive/tlnet/tlpkg/installer/config.guess | |
parent | c389b7448b0983c777962eb6889c11cc754b5b01 (diff) |
CTAN sync 201912250300
Diffstat (limited to 'systems/texlive/tlnet/tlpkg/installer/config.guess')
-rwxr-xr-x | systems/texlive/tlnet/tlpkg/installer/config.guess | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/systems/texlive/tlnet/tlpkg/installer/config.guess b/systems/texlive/tlnet/tlpkg/installer/config.guess index 7f9ebbe310..95b16c7747 100755 --- a/systems/texlive/tlnet/tlpkg/installer/config.guess +++ b/systems/texlive/tlnet/tlpkg/installer/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 ;; |