diff --git a/website/_scripts/inject.sh b/website/_scripts/inject.sh index 44d3a95..c6caf19 100755 --- a/website/_scripts/inject.sh +++ b/website/_scripts/inject.sh @@ -31,7 +31,7 @@ set -o pipefail __dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" __file="${__dir}/$(basename "${BASH_SOURCE[0]}")" __base="$(basename "${__file}" .sh)" -__root="$(cd "$(dirname $(dirname "${__dir}"))" && pwd)" +__root="$(cd "$(dirname "$(dirname "${__dir}")")" && pwd)" pushd "${__root}" # Offer the main template for download as http://bash3boilerplate.sh/main.sh