From: Nick Ing-Simmons <nik@tiuk.ti.com>
Date: Wed, 30 Jan 2002 07:27:55 +0000 (+0000)
Subject: Integrate Jarkko's path/INC tweaks
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e472a8feb817c1c86255b5b07d90600cc9438331;p=p5sagit%2Fp5-mst-13.2.git

Integrate Jarkko's path/INC tweaks

p4raw-id: //depot/perlio@14498
p4raw-integrated: from //depot/perl@14490 'merge in' ext/Encode/compile
	(@14492..)
---

diff --git a/ext/Encode/compile b/ext/Encode/compile
index 13498d1..b5f659a 100755
--- a/ext/Encode/compile
+++ b/ext/Encode/compile
@@ -1,7 +1,7 @@
 #!../../perl -w
 BEGIN {
-    unshift @INC, '../../lib';
-    $ENV{PATH} .= ';../..' if $^O eq 'MSWin32';
+    unshift @INC, qw(../../lib ../../../lib);
+    $ENV{PATH} .= ';../..;../../..' if $^O eq 'MSWin32';
 }
 use strict;
 use Getopt::Std;