From 415add8838e200e57b626c1bee5d5b80dd553cfc Mon Sep 17 00:00:00 2001 From: Max Howell Date: Fri, 29 Sep 2023 13:03:46 -0400 Subject: [PATCH] wip --- share/toolchain/shim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/toolchain/shim b/share/toolchain/shim index a2876044..13466e3f 100755 --- a/share/toolchain/shim +++ b/share/toolchain/shim @@ -2,10 +2,10 @@ tool=$(basename $0) -# if [ $(uname) != Darwin ]; then +if [ $(uname) != Darwin ]; then d="$(cd "$(dirname "$0")/.." && pwd)" - exec tea +llvm.org $d/symlinks/$tool "$@" -# fi + exec "$TEA_PREFIX/tea.xyz/v*/bin/tea" +llvm.org $d/symlinks/$tool "$@" +fi case $tool in cc|gcc|clang|c++|g++|clang++)