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:
parent
da9dd45ebf
commit
7158d56499
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
set -ueo pipefail
|
set -ueo pipefail
|
||||||
|
|
||||||
readonly REPO_ROOT=$(dirname $0)/../..
|
readonly REPO_ROOT=$(dirname $0)/../..
|
||||||
readonly TARGET_TOOL=$(basename $0)
|
TARGET_TOOL=$(basename $0)
|
||||||
|
|
||||||
case "${TARGET_TOOL}" in
|
case "${TARGET_TOOL}" in
|
||||||
terraform)
|
terraform)
|
||||||
|
@ -24,6 +24,7 @@ case "${TARGET_TOOL}" in
|
||||||
;;
|
;;
|
||||||
kms_pass)
|
kms_pass)
|
||||||
attr="tools.kms_pass"
|
attr="tools.kms_pass"
|
||||||
|
TARGET_TOOL="pass"
|
||||||
;;
|
;;
|
||||||
aoc2019)
|
aoc2019)
|
||||||
attr="tools.aoc2019.${1}"
|
attr="tools.aoc2019.${1}"
|
||||||
|
|
Loading…
Reference in a new issue