Skip to content

Commit 1e2d54d

Browse files
chore: remove global solana from PATH filtering, use isolated .local
solana tooling instead
1 parent 96c2faa commit 1e2d54d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/devenv.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ PATH="${LIGHT_PROTOCOL_TOPLEVEL}/.local/cargo/bin:${PATH}"
6666
PATH="${LIGHT_PROTOCOL_TOPLEVEL}/.local/go/bin:${PATH}"
6767
PATH="${LIGHT_PROTOCOL_TOPLEVEL}/.local/npm-global/bin:${PATH}"
6868

69-
# Remove the original Rust-related PATH entries
70-
PATH=$(echo "$PATH" | tr ':' '\n' | grep -vE "/.rustup/|/.cargo/" | tr '\n' ':' | sed 's/:$//')
69+
# Remove the original Rust-related PATH entries and global Solana installations
70+
PATH=$(echo "$PATH" | tr ':' '\n' | grep -vE "/.rustup/|/.cargo/|/.local/share/solana/" | tr '\n' ':' | sed 's/:$//')
7171

7272
# Define alias of `light` to use the CLI built from source (only if not in CI)
7373
if [ -z "${CI:-}" ]; then

0 commit comments

Comments
 (0)