Fix shellcheck linting

This commit is contained in:
Kevin van Zonneveld 2016-12-16 14:48:58 +01:00
parent 8c35bc9e76
commit d17152253c

View File

@ -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