aboutsummaryrefslogtreecommitdiff
path: root/doc/tips/nearlyfreespeech.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-05-05 20:12:06 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-05-05 20:12:06 -0400
commit86c6f2b96323980f75b4435809769ef2193dd157 (patch)
tree5aeddba354b3dacae486ba99590f3736a5885ca9 /doc/tips/nearlyfreespeech.mdwn
parent0599a6591f6d62d69eb8c520856677d10c9913fe (diff)
downloadikiwiki-86c6f2b96323980f75b4435809769ef2193dd157.tar
ikiwiki-86c6f2b96323980f75b4435809769ef2193dd157.tar.gz
fix PERL5LIB in examples
Using `pwd` makes some modules that call cpan recursively succeed to install
Diffstat (limited to 'doc/tips/nearlyfreespeech.mdwn')
-rw-r--r--doc/tips/nearlyfreespeech.mdwn10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/tips/nearlyfreespeech.mdwn b/doc/tips/nearlyfreespeech.mdwn
index ca1c3d1ef..b8984a4b7 100644
--- a/doc/tips/nearlyfreespeech.mdwn
+++ b/doc/tips/nearlyfreespeech.mdwn
@@ -38,12 +38,12 @@ Use `wget` to [[download]] the ikiwiki tarball. Then unpack it:
Use CPAN to install the perl modules it uses into your home directory:
- PERL5LIB=ikiwiki:ikiwiki/cpan:. PERL_MM_USE_DEFAULT=1 perl -MCPAN -e 'CPAN::Shell->install("Bundle::IkiWiki")'
- PERL5LIB=ikiwiki:ikiwiki/cpan:. PERL_MM_USE_DEFAULT=1 perl -MCPAN -e 'CPAN::Shell->force(install => "Bundle::IkiWiki::Extras")'
+ PERL5LIB=`pwd`/ikiwiki:`pwd`/ikiwiki/cpan:`pwd`/lib/perl5 PERL_MM_USE_DEFAULT=1 perl -MCPAN -e 'CPAN::Shell->install("Bundle::IkiWiki")'
+ PERL5LIB=`pwd`/ikiwiki:`pwd`/ikiwiki/cpan:`pwd`/lib/perl5 PERL_MM_USE_DEFAULT=1 perl -MCPAN -e 'CPAN::Shell->force(install => "Bundle::IkiWiki::Extras")'
-(This will take a while. As long as the first command succeeds, ikiwiki will be
-usable. The second command adds extra modules that some plugins use, and
-installation of some of them might fail.)
+This will take a while. As long as the first command succeeds, ikiwiki will be
+usable. The second command adds extra modules that some plugins use, so it's
+ok if installation of some of them fails.
## Build and install ikiwiki