aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/PERL5LIB__44___wrappers_and_homedir_install.mdwn
diff options
context:
space:
mode:
authorhttp://mcfrisk.myopenid.com/ <http://mcfrisk.myopenid.com/@web>2010-05-03 23:28:27 +0000
committerJoey Hess <joey@finch.kitenet.net>2010-05-03 23:28:27 +0000
commit6c0d2aa45608da7382289a34ac08e38b444ebe5b (patch)
tree618fe2a28093bb1d9624a9933941fd319c4c7523 /doc/forum/PERL5LIB__44___wrappers_and_homedir_install.mdwn
parentae75c9bee683d5645b033ddea5b211cc99416d19 (diff)
downloadikiwiki-6c0d2aa45608da7382289a34ac08e38b444ebe5b.tar
ikiwiki-6c0d2aa45608da7382289a34ac08e38b444ebe5b.tar.gz
PERL5LIB setting question
Diffstat (limited to 'doc/forum/PERL5LIB__44___wrappers_and_homedir_install.mdwn')
-rw-r--r--doc/forum/PERL5LIB__44___wrappers_and_homedir_install.mdwn17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/forum/PERL5LIB__44___wrappers_and_homedir_install.mdwn b/doc/forum/PERL5LIB__44___wrappers_and_homedir_install.mdwn
new file mode 100644
index 000000000..9dc539538
--- /dev/null
+++ b/doc/forum/PERL5LIB__44___wrappers_and_homedir_install.mdwn
@@ -0,0 +1,17 @@
+What is the way to tell wrappers that PERL5LIB should include ~/bin directories?
+
+Having this in the wiki.setup doesn't help anymore:
+
+ # environment variables
+ ENV => {
+ PATH => '/home/user/bin/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/home/user/ikiwiki/usr/bin/:/home/user/ikiwiki/usr/sbin/:/home/user/bin/bin/:~/bin/bin/',
+ PERL5LIB => '/home/user/bin/share/perl/5.10.0:/home/user/bin/lib/perl/5.10.0'
+ },
+
+Or at least I get CGI errors and running ikiwiki.cgi manually fails too:
+
+ Use of uninitialized value $tainted in pattern match (m//) at /usr/share/perl5/IkiWiki.pm line 233.
+ Argument "" isn't numeric in umask at /usr/share/perl5/IkiWiki.pm line 139.
+ Undefined subroutine &IkiWiki::cgierror called at /home/user/bin/bin/ikiwiki line 199.
+
+Server has an older ikiwiki installed but I'd like to use a newer version from git, and I don't have root access.