fix(tools): Correctly resolve kms_pass->pass

The binary name doesn't match the one inside of the derivation, but
this is intentional.
This commit is contained in:
Vincent Ambo 2019-12-20 13:13:06 +00:00
parent da9dd45ebf
commit 7158d56499

View file

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