Skip to content

Commit

Permalink
🧑‍💻 Add some paths to $PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Dec 10, 2024
1 parent c702fd0 commit 8784ab9
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
# shellcheck shell=bash
# shellcheck shell=bash disable=SC2123
if [[ -x /opt/ccstudio/ccs/tools/compiler/c6000_7.4.24/bin/cl6x ]]; then
PATH="/opt/ccstudio/ccs/tools/compiler/c6000_7.4.24/bin${PATH:+:}$PATH"
fi
if [[ -x /opt/ccstudio/ccs/ccs_base/scripting/bin/dss.sh ]]; then
PATH="/opt/ccstudio/ccs/ccs_base/scripting/bin${PATH:+:}$PATH"
fi
if [[ -x /opt/ccstudio/ccs/ccs_base/scripting/examples/loadti/loadti.sh ]]; then
PATH="/opt/ccstudio/ccs/ccs_base/scripting/examples/loadti${PATH:+:}$PATH"
fi
if command -v cl6x &>/dev/null; then
export C6X_C_DIR="$(dirname "$(dirname "$(realpath "$(command -v cl6x)")")")"
export C6X_C_DIR
C6X_C_DIR="$(dirname "$(dirname "$(realpath "$(command -v cl6x)")")")"
C6X_C_DIR="$C6X_C_DIR/include;$C6X_C_DIR/lib"
fi
# ex: filetype=sh

0 comments on commit 8784ab9

Please sign in to comment.