jekyll: Use an idiomatic way to get script directory
See elsewhere in the repo and <https://stackoverflow.com/a/246128/96588>.
This commit is contained in:
parent
235bacee2e
commit
27312ae230
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user