Skip to content

Commit

Permalink
don't invoke which in shell init scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
trxcllnt committed Aug 18, 2023
1 parent 4eca5b3 commit d4b62d3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions features/src/rapids-build-utils/.bashrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export CONDA_ALWAYS_YES="true";
export CC="${CC:-"$(which gcc)"}";
export CXX="${CXX:-"$(which g++)"}";
export CC="${CC:-"/usr/bin/gcc"}";
export CXX="${CXX:-"/usr/bin/g++"}";
export CUDAARCHS="${CUDAARCHS:-all-major}";
export CUDAHOSTCXX="${CUDAHOSTCXX:-"${CXX}"}";
export CMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE:-Release}";
Expand Down
2 changes: 1 addition & 1 deletion features/src/rapids-build-utils/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "NVIDIA RAPIDS devcontainer build utilities",
"id": "rapids-build-utils",
"version": "23.10.2",
"version": "23.10.3",
"description": "A feature to install the RAPIDS devcontainer build utilities",
"containerEnv": {
"BASH_ENV": "/etc/bash.bash_env"
Expand Down
2 changes: 1 addition & 1 deletion features/src/utils/.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ fi

# Default python startup file to `devcontainer-utils-python-repl-startup` script.
if test -z "${PYTHONSTARTUP:-}"; then
export PYTHONSTARTUP="$(which devcontainer-utils-python-repl-startup)";
export PYTHONSTARTUP="/usr/bin/devcontainer-utils-python-repl-startup";
fi
2 changes: 1 addition & 1 deletion features/src/utils/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "devcontainer-utils",
"id": "utils",
"version": "23.10.3",
"version": "23.10.4",
"description": "A feature to install RAPIDS devcontainer utility scripts",
"containerEnv": {
"BASH_ENV": "/etc/bash.bash_env"
Expand Down

0 comments on commit d4b62d3

Please sign in to comment.