summaryrefslogtreecommitdiff
path: root/backend/dep/build_ikiwiki.sh
diff options
context:
space:
mode:
authorIkiWiki <ikiwiki.info>2020-03-02 16:22:10 -0500
committerIkiWiki <ikiwiki.info>2020-03-02 16:22:10 -0500
commitc9d8d12bc837261238a643e5c6fdea061057c6a2 (patch)
tree0e0c9469568f06fab337b76f8c4b595d0323edb3 /backend/dep/build_ikiwiki.sh
parent84afe83be371f847b9e5776e507efa9351823b45 (diff)
downloadstandingwithresilience-c9d8d12bc837261238a643e5c6fdea061057c6a2.tar.gz
standingwithresilience-c9d8d12bc837261238a643e5c6fdea061057c6a2.zip
not sure where i am in this, another task came up, but committing changes
Diffstat (limited to 'backend/dep/build_ikiwiki.sh')
-rwxr-xr-xbackend/dep/build_ikiwiki.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/backend/dep/build_ikiwiki.sh b/backend/dep/build_ikiwiki.sh
index 484613a..56f6325 100755
--- a/backend/dep/build_ikiwiki.sh
+++ b/backend/dep/build_ikiwiki.sh
@@ -3,10 +3,11 @@
SCRIPTDIR="$( cd "$( dirname "$0" )" >/dev/null 2>&1 && pwd )"
cd "$SCRIPTDIR"/ikiwiki &&
-PERL5LIB="$(pwd):$(pwd)/cpan" PERL_MM_USE_DEFAULT=1 perl -MCPAN -MCPAN::MyConfig -e 'CPAN::Shell->notest("install", "Bundle::IkiWiki")' &&
+HOME="$SCRIPTDIR/prefix" PERL5LIB="$(pwd):$(pwd)/cpan" PERL_MM_USE_DEFAULT=1 perl -MCPAN -MCPAN::MyConfig -e 'CPAN::Shell->notest("install", "Bundle::IkiWiki")' &&
#PERL5LIB="$(pwd):$(pwd)/cpan" PERL_MM_USE_DEFAULT=1 perl -MCPAN -MCPAN::MyConfig -e 'CPAN::Shell->notest("install", "Bundle::IkiWiki::Extras")' &&
-perl Makefile.PL PREFIX= INSTALL_BASE= &&
+#perl Makefile.PL PREFIX="$(pwd)/.." INSTALL_BASE="$(pwd)/.." &&
+perl Makefile.PL PREFIX= INSTALL_BASE="$SCRIPTDIR/prefix" &&
make &&
echo To run ikiwiki: &&
-echo "PERL5LIB='$(pwd)' '$(pwd)/'ikiwiki.out"
+echo "PERL5LIB='$SCRIPTDIR/prefix' '$(pwd)/'ikiwiki.out"