From: Matt S Trout <mst@shadowcat.co.uk>
Date: Mon, 15 Oct 2012 11:13:45 +0000 (+0000)
Subject: need to not fatnodify arch stuff to avoid PerlIO explosions
X-Git-Tag: v0.003001_01~130
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=aed8cd59e460a6528c8eb4ce5c90fb50967778f4;p=scpubgit%2FObject-Remote.git

need to not fatnodify arch stuff to avoid PerlIO explosions
---

diff --git a/lib/Object/Remote/FatNode.pm b/lib/Object/Remote/FatNode.pm
index d76a21d..845c12b 100644
--- a/lib/Object/Remote/FatNode.pm
+++ b/lib/Object/Remote/FatNode.pm
@@ -45,7 +45,7 @@ my @non_core_non_arch = grep +(
     /^\Q$Config{privlibexp}/ or /^\Q$Config{archlibexp}/
     or /^\Q$Config{vendorarchexp}/ or /^\Q$Config{sitearchexp}/
   )
-), keys %mods;
+), grep !/\Q$Config{archname}/, grep !/\Q$Config{myarchname}/, keys %mods;
 
 my @core_non_arch = grep +(
   /^\Q$Config{privlibexp}/