about summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/bin/__dispatch.sh6
l---------tools/bin/kms_pass (renamed from tools/bin/pass)0
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/bin/__dispatch.sh b/tools/bin/__dispatch.sh
index fb8a4d779185..d1d54909cbd6 100755
--- a/tools/bin/__dispatch.sh
+++ b/tools/bin/__dispatch.sh
@@ -6,7 +6,7 @@
 # to the key in nixpkgs which represents the program you want to run.
 set -ueo pipefail
 
-readonly REPO_ROOT=$(git rev-parse --show-toplevel)
+readonly REPO_ROOT=$(dirname $0)/../..
 readonly TARGET_TOOL=$(basename $0)
 
 case "${TARGET_TOOL}" in
@@ -20,9 +20,9 @@ case "${TARGET_TOOL}" in
     attr="tools.blog_cli"
     ;;
   stern)
-    attr="stern"
+    attr="third_party.stern"
     ;;
-  pass)
+  kms_pass)
     attr="tools.kms_pass"
     ;;
   aoc2019)
diff --git a/tools/bin/pass b/tools/bin/kms_pass
index 8390ec9c9652..8390ec9c9652 120000
--- a/tools/bin/pass
+++ b/tools/bin/kms_pass