From 7744b4d849e13356ad75afb1f8877dfaece0fe9b Mon Sep 17 00:00:00 2001 From: smcv Date: Fri, 3 Feb 2017 16:48:48 -0400 Subject: [PATCH] change `pwd` to $HOME so assumptions are met even if you cd elsewhere --- doc/tips/nearlyfreespeech.mdwn | 4 ++-- 1 file 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