aboutsummaryrefslogtreecommitdiff
path: root/doc/tips
diff options
context:
space:
mode:
authorsmcv <smcv@web>2017-02-03 16:48:48 -0400
committeradmin <admin@branchable.com>2017-02-03 16:48:48 -0400
commit7744b4d849e13356ad75afb1f8877dfaece0fe9b (patch)
treef66f33805890cbe3e897915371b58e20374c7f27 /doc/tips
parentc72fbbe21d3f1cd42495d0da690cdd9e0b46ced7 (diff)
downloadikiwiki-7744b4d849e13356ad75afb1f8877dfaece0fe9b.tar
ikiwiki-7744b4d849e13356ad75afb1f8877dfaece0fe9b.tar.gz
change `pwd` to $HOME so assumptions are met even if you cd elsewhere
Diffstat (limited to 'doc/tips')
-rw-r--r--doc/tips/nearlyfreespeech.mdwn4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/tips/nearlyfreespeech.mdwn b/doc/tips/nearlyfreespeech.mdwn
index f9da223ac..2a78b66a3 100644
--- a/doc/tips/nearlyfreespeech.mdwn
+++ b/doc/tips/nearlyfreespeech.mdwn
@@ -52,9 +52,9 @@ because the system has most modules installed already.
So, you might want to skip this step and come back to it later if ikiwiki
doesn't work.
- PERL5LIB=`pwd`/ikiwiki:`pwd`/ikiwiki/cpan:`pwd`/lib/perl5 PERL_MM_USE_DEFAULT=1 perl -MCPAN -e 'CPAN::Shell->install("Bundle::IkiWiki")'
+ PERL5LIB=$HOME/ikiwiki:$HOME/ikiwiki/cpan:$HOME/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")'
+ PERL5LIB=$HOME/ikiwiki:$HOME/ikiwiki/cpan:$HOME/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, so it's