From 7158d56499ce7e87f45faa2461f6f787bcf83a10 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 20 Dec 2019 13:13:06 +0000 Subject: fix(tools): Correctly resolve kms_pass->pass The binary name doesn't match the one inside of the derivation, but this is intentional. --- tools/bin/__dispatch.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/bin') diff --git a/tools/bin/__dispatch.sh b/tools/bin/__dispatch.sh index 2342b9fd010a..473342769d57 100755 --- a/tools/bin/__dispatch.sh +++ b/tools/bin/__dispatch.sh @@ -7,7 +7,7 @@ set -ueo pipefail readonly REPO_ROOT=$(dirname $0)/../.. -readonly TARGET_TOOL=$(basename $0) +TARGET_TOOL=$(basename $0) case "${TARGET_TOOL}" in terraform) @@ -24,6 +24,7 @@ case "${TARGET_TOOL}" in ;; kms_pass) attr="tools.kms_pass" + TARGET_TOOL="pass" ;; aoc2019) attr="tools.aoc2019.${1}" -- cgit 1.4.1