This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Various Gentoo Patches
authorMarcus Holland-Moritz <mhx-perl@gmx.net>
Wed, 18 Jul 2007 17:17:58 +0000 (19:17 +0200)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Thu, 19 Jul 2007 13:56:19 +0000 (13:56 +0000)
Message-ID: <20070718171758.77912ed4@r2d2>

perl-noksh.patch - http://bugs.gentoo.org/show_bug.cgi?id=42665

p4raw-id: //depot/metaconfig@31638

U/modified/Head.U

index d8ee6c4..d4b6ded 100644 (file)
@@ -293,6 +293,11 @@ true)
        esac
        ;;
 esac
+?X: 2004.06.09 rac
+?X: having $newsh persist as ksh here is bad news if ksh doesn't really
+?X: exist. this causes us to toss away a perfectly good working test in
+?X: bash in favour of more exotic external options. see bug 42665.
+test -x "${newsh}" || unset newsh
 
 ?X: Unset CDPATH to avoid surprises when using cd under some shells
 ?X: Can't unset it because that's not portable to very old shells.