Skip to content

Commit

Permalink
typo in vscode script
Browse files Browse the repository at this point in the history
  • Loading branch information
eeholmes authored Nov 18, 2024
1 parent 48f47f0 commit b75ab37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install-vscode-extensions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ if [[ $(id -u) -eq 0 ]]; then
echo "Switching to ${NB_USER} to run install-vscode-extensions.sh"
# the next command switches to bash and the PATH (and other variables) gets dropped
#export PATH="$PATH"
exe su "${NB_USER}" -c "env PATH='$PATH' /bin/bash $0 $1"
exec su "${NB_USER}" -c "env PATH='$PATH' /bin/bash $0 $1"
#exec su "${NB_USER}" -c "/bin/bash $0 $1" # Pass along the filename argument
fi

echo "Running install-vscode-extensions.sh as ${NB_USER}"
echo "Running install-vscode-extensions.sh as $(whoami)"
echo "PATH = ${PATH}"

ext_file="$1"
Expand Down

0 comments on commit b75ab37

Please sign in to comment.