summaryrefslogtreecommitdiff
path: root/bin/tool
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tool')
-rwxr-xr-xbin/tool3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/tool b/bin/tool
index 7b46bce..2a2bd80 100755
--- a/bin/tool
+++ b/bin/tool
@@ -1,6 +1,9 @@
#!/bin/sh
set -e
+[ -n "$DEBUG" ] && set -x
+
+cd "$(dirname "$0")/.."
tool_bin=$(go tool -n "$1")