Unverified Commit 27312ae2 authored by Victor Engmark's avatar Victor Engmark
Browse files

jekyll: Use an idiomatic way to get script directory

See elsewhere in the repo and <https://stackoverflow.com/a/246128/96588>.
parent 235bacee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@

set -o errexit -o nounset

BASEDIR="$(dirname "$(readlink -f $0)")"
BASEDIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)

for directory in "basic" "full"; do
  pushd "$BASEDIR/$directory"