From d17152253ca48afc8d61cfe73f8e489dc0dbaaa3 Mon Sep 17 00:00:00 2001 From: Kevin van Zonneveld Date: Fri, 16 Dec 2016 14:48:58 +0100 Subject: [PATCH] Fix shellcheck linting --- website/_scripts/inject.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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