aboutsummaryrefslogtreecommitdiff
path: root/local-tomo
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-12-21 15:57:21 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-12-21 15:57:21 -0500
commit13c430fde1388703aa002fdb203548801082d4e3 (patch)
tree236718203fa84bcf78b755bf8ec3b69a1da716ad /local-tomo
parent86a08a38a8a60b6a0de0da62a5d3fa843f6db71f (diff)
parent434ffd71c9a7eebd46ec0cba1d97b0827b874901 (diff)
Merge branch 'dev'
Diffstat (limited to 'local-tomo')
-rwxr-xr-xlocal-tomo11
1 files changed, 3 insertions, 8 deletions
diff --git a/local-tomo b/local-tomo
index 76864837..d16e090e 100755
--- a/local-tomo
+++ b/local-tomo
@@ -1,11 +1,6 @@
#!/bin/sh
version=$(awk '/^## / {print $2; exit}' CHANGES.md)
-here="$(realpath "$(dirname "$0")")"
-if [ ! -e "$here/build/bin/tomo@$version" ]; then
- echo "Tomo hasn't been compiled yet! Run \`make\` to compile it!"
- exit 1;
+if ! [ -e ./build/$version/bin/tomo ]; then
+ make -j
fi
-
-PATH="$here/build/bin${PATH:+:$PATH}" \
-TOMO_PATH="$here/build" \
-tomo@"$version" "$@"
+exec ./build/$version/bin/tomo "$@"