Add shellcheck source directive in places where it can't find sourced files on its own

This commit is contained in:
Kamil Śliwak
2021-03-15 12:16:43 +01:00
parent 2c00939ad8
commit 7929175db6
4 changed files with 6 additions and 0 deletions
+2
View File
@@ -32,7 +32,9 @@ set -e
REPO_ROOT=$(cd "$(dirname "$0")/.." && pwd)
SOLIDITY_BUILD_DIR=${SOLIDITY_BUILD_DIR:-${REPO_ROOT}/build}
# shellcheck source=scripts/common.sh
source "${REPO_ROOT}/scripts/common.sh"
# shellcheck source=scripts/common_cmdline.sh
source "${REPO_ROOT}/scripts/common_cmdline.sh"
(( $# <= 1 )) || { printError "Too many arguments"; exit 1; }