From a1feaa07bf0bff0e490a56ae4094ff0b54abddb8 Mon Sep 17 00:00:00 2001 From: Sergey Timoshin Date: Wed, 27 Aug 2025 19:47:57 +0100 Subject: [PATCH] chore: remove global solana from PATH filtering, use isolated .local solana tooling instead --- scripts/devenv.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/devenv.sh b/scripts/devenv.sh index 3584f8652c..d0b723a53b 100755 --- a/scripts/devenv.sh +++ b/scripts/devenv.sh @@ -66,8 +66,8 @@ PATH="${LIGHT_PROTOCOL_TOPLEVEL}/.local/cargo/bin:${PATH}" PATH="${LIGHT_PROTOCOL_TOPLEVEL}/.local/go/bin:${PATH}" PATH="${LIGHT_PROTOCOL_TOPLEVEL}/.local/npm-global/bin:${PATH}" -# Remove the original Rust-related PATH entries -PATH=$(echo "$PATH" | tr ':' '\n' | grep -vE "/.rustup/|/.cargo/" | tr '\n' ':' | sed 's/:$//') +# Remove the original Rust-related PATH entries and global Solana installations +PATH=$(echo "$PATH" | tr ':' '\n' | grep -vE "/.rustup/|/.cargo/|/.local/share/solana/" | tr '\n' ':' | sed 's/:$//') # Define alias of `light` to use the CLI built from source (only if not in CI) if [ -z "${CI:-}" ]; then