summaryrefslogtreecommitdiffstats
path: root/tools/specific_arch
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2001-11-20 23:35:06 +0000
committerMystery Man <unknown@mandriva.org>2001-11-20 23:35:06 +0000
commit9f1dfb0e6b859cba0ebda5f945987ba6c24a596b (patch)
treed85d9819673c16e4753109862a2eeb9bfa775e7a /tools/specific_arch
parentdee901a3fde82083a630082f04c0139c73ba248f (diff)
downloaddrakx-9f1dfb0e6b859cba0ebda5f945987ba6c24a596b.tar
drakx-9f1dfb0e6b859cba0ebda5f945987ba6c24a596b.tar.gz
drakx-9f1dfb0e6b859cba0ebda5f945987ba6c24a596b.tar.bz2
drakx-9f1dfb0e6b859cba0ebda5f945987ba6c24a596b.tar.xz
drakx-9f1dfb0e6b859cba0ebda5f945987ba6c24a596b.zip
This commit was manufactured by cvs2svn to create branchtopic/PCMCIA_CS_DISTRO
'PCMCIA_CS_DISTRO'.
Diffstat (limited to 'tools/specific_arch')
-rwxr-xr-xtools/specific_arch28
1 files changed, 0 insertions, 28 deletions
diff --git a/tools/specific_arch b/tools/specific_arch
deleted file mode 100755
index 57da2d259..000000000
--- a/tools/specific_arch
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/perl
-
-%compat_arch = (
- 'noarch' => '',
- 'i386' => 'noarch',
- 'i486' => 'i386',
- 'i586' => 'i486',
- 'i686' => 'i586',
- 'i786' => 'i686',
- 'k6' => 'i586',
- 'k7' => 'k6',
- 'k8' => 'k7',
- 'alpha' => 'noarch',
- 'sparc' => 'noarch',
- 'sparc32' => 'sparc',
- 'sparc64' => 'sparc32',
- 'ia64' => 'noarch',
- );
-
-$arch = `uname -m` || 'unknownarch';
-$arch =~ s/\s//g;
-
-print join ' ', map {
- my $arch = $arch;
- $arch = $compat_arch{$arch} while $arch && !-e "$_.$arch";
- -e "$_.$arch" ? "$_.$arch" : $_;
- } @ARGV;
-print "\n";