summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-04-10 18:50:49 +0000
committerKarl Berry <karl@freefriends.org>2012-04-10 18:50:49 +0000
commit9ea2a9bee4fa7f1ba62a09a65002dbd3364dfe52 (patch)
tree3720830e64e3356a4b1880f7719ab10f5d5b96da /Master
parent794d9cd1addfbb75eff555d6ffe80a64256f2454 (diff)
(platform_name): don't distinguish sparc64 and
sparc, I guess. git-svn-id: svn://tug.org/texlive/trunk@25907 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm9
1 files changed, 5 insertions, 4 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm
index 6af3f1e4dbc..ee004737b29 100644
--- a/Master/tlpkg/TeXLive/TLUtils.pm
+++ b/Master/tlpkg/TeXLive/TLUtils.pm
@@ -266,10 +266,11 @@ sub platform_name {
my $CPU; # CPU type as reported by config.guess.
my $OS; # O/S type as reported by config.guess.
($CPU = $guessed_platform) =~ s/(.*?)-.*/$1/;
- $CPU =~ s/^alpha(.*)/alpha/; # alphaev56 or whatever
- $CPU =~ s/armv7l/armel/; # arm
- $CPU =~ s/powerpc64/powerpc/; # we don't distinguish ppc64
- $CPU =~ s/mips64el/mipsel/; # we don't distinguish mips64 and 32 el
+ $CPU =~ s/^alpha(.*)/alpha/; # alphaev whatever
+ $CPU =~ s/armv7l/armel/; # arm whatever
+ $CPU =~ s/powerpc64/powerpc/; # don't distinguish ppc64
+ $CPU =~ s/sparc64/sparc/; # don't distinguish sparc64
+ $CPU =~ s/mips64el/mipsel/; # don't distinguish mips64 and 32 el
my @OSs = qw(aix cygwin darwin freebsd hpux irix
kfreebsd linux netbsd openbsd solaris);