Fixed missing $PERLLIB includes in "make test" run from CPAN
authorshort <>
Wed, 19 Jun 2002 17:04:36 +0000 (17:04 +0000)
committershort <>
Wed, 19 Jun 2002 17:04:36 +0000 (17:04 +0000)
.bashrc
bin/perlilib [new file with mode: 0755]

diff --git a/.bashrc b/.bashrc
index 325758b..12b2b86 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -59,7 +59,7 @@ export IGNOREEOF=10
 export TMOUT=900
 export EDITOR='vim'
 export LC_CTYPE=cs_CZ.ISO-8859-2
-export PERL_MM_OPT="PREFIX=$HOME"
+export PERL_MM_OPT="PERL=$HOME/bin/perlilib PREFIX=$HOME"
 export WWW_HOME="file:///home/short/.bookmarks.html"
 export GREP_OPTIONS="--binary-files=without-match --directories=skip"
 [ -n "$PS1" ] && export PS1="`echo -en '\017'`$PS1"    # set only in interactive sessions
diff --git a/bin/perlilib b/bin/perlilib
new file mode 100755 (executable)
index 0000000..abe21ba
--- /dev/null
@@ -0,0 +1,5 @@
+#! /bin/sh
+#
+#      $Id$
+
+exec /usr/bin/perl`echo ":$PERLLIB"|sed 's/:/ -I/g'` "$@"