]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
change `pwd` to $HOME so assumptions are met even if you cd elsewhere
authorsmcv <smcv@web>
Fri, 3 Feb 2017 20:48:48 +0000 (16:48 -0400)
committeradmin <admin@branchable.com>
Fri, 3 Feb 2017 20:48:48 +0000 (16:48 -0400)
doc/tips/nearlyfreespeech.mdwn

index f9da223ac071f9d0452abc17d146b885101be7fc..2a78b66a37215b1d8e078f2cda37419ad3902de4 100644 (file)
@@ -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.
 
 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
 
 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