summaryrefslogtreecommitdiff
path: root/backend/dep/build_ikiwiki.sh
diff options
context:
space:
mode:
Diffstat (limited to 'backend/dep/build_ikiwiki.sh')
-rwxr-xr-xbackend/dep/build_ikiwiki.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/dep/build_ikiwiki.sh b/backend/dep/build_ikiwiki.sh
index 38d6692..3635e40 100755
--- a/backend/dep/build_ikiwiki.sh
+++ b/backend/dep/build_ikiwiki.sh
@@ -1,6 +1,6 @@
#!/bin/env bash
-SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
+SCRIPTDIR="$( cd "$( dirname "$0" )" >/dev/null 2>&1 && pwd )"
cd "$SCRIPTDIR"/ikiwiki &&
{ PERL5LIB=`pwd` PERL_MM_USE_DEFAULT=1 perl -MCPAN -e 'CPAN::Shell->notest("install", "Bundle::IkiWiki")'; } &&