Skip to content

Commit 198123d

Browse files
committed
Fix dsub wrapper to use LIBRARIES_ENV_DIR after workbench-tools refactor
Made-with: Cursor
1 parent 56a528e commit 198123d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

features/src/workbench-tools/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ chown -R "${USERNAME}:" "${LIBRARIES_ENV_DIR}"
185185
# PYTHONPATH so we need to override it here. We use a function instead of an
186186
# alias because aliases are not expanded in non-interactive shells.
187187
# shellcheck disable=SC2016 # we want $PYTHONPATH to be evaluated at runtime
188-
printf 'function dsub() (PYTHONPATH="%s/2/lib/python3.9/site-packages:${PYTHONPATH:-}" "%s/2/bin/dsub" "$@")\n' "${WORKBENCH_TOOLS_DIR}" "${WORKBENCH_TOOLS_DIR}"
188+
printf 'function dsub() (PYTHONPATH="%s/lib/python3.9/site-packages:${PYTHONPATH:-}" "%s/bin/dsub" "$@")\n' "${LIBRARIES_ENV_DIR}" "${LIBRARIES_ENV_DIR}"
189189

190190
# Wrap gcloud to unset DISPLAY per-invocation so auth commands don't try
191191
# to open a browser via X11 in headless devcontainer environments.

0 commit comments

Comments
 (0)