summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-10-05 00:29:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-10-05 00:29:57 +0000
commitb5729ff7fe58281b3f393735e8278729b323edb4 (patch)
treee6a741bce9d71171359a8436a134a8129b05d935
parent4a2864347fee2a142660370e097512bce2861cf7 (diff)
downloaddrakx-b5729ff7fe58281b3f393735e8278729b323edb4.tar
drakx-b5729ff7fe58281b3f393735e8278729b323edb4.tar.gz
drakx-b5729ff7fe58281b3f393735e8278729b323edb4.tar.bz2
drakx-b5729ff7fe58281b3f393735e8278729b323edb4.tar.xz
drakx-b5729ff7fe58281b3f393735e8278729b323edb4.zip
specific_arch will now return only the specific arch file, not the main one
(which is what we want for perl-install/share/symlinks, perl-install/share/list and rescue/list)
-rwxr-xr-xtools/specific_arch2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/specific_arch b/tools/specific_arch
index 006b17446..a86b7bc43 100755
--- a/tools/specific_arch
+++ b/tools/specific_arch
@@ -5,5 +5,5 @@ use MDK::Common;
print join(' ', map {
my $arch = arch();
$arch = $compat_arch{$arch} while $arch && !-e "$_.$arch";
- -e "$_.$arch" ? "$_.$arch" : $_;
+ -e "$_.$arch" ? "$_.$arch" : ();
} @ARGV), "\n";