Skip to content

Commit

Permalink
Merge pull request #205 from NeuroDesk:fix_fsl_user_error
Browse files Browse the repository at this point in the history
export user variables
  • Loading branch information
stebo85 authored Jan 11, 2024
2 parents 8319fb6 + f478244 commit 1da3872
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/jupyter/environment_variables.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# This file is sourced once in jupyterlab_startup.sh and once in ~/.bashrc so we get the same environment variables in the jupyter and in the desktop environment
if [[ -z "${NB_USER}" ]]; then
NB_USER=${USER}
export NB_USER=${USER}
fi

if [[ -z "${USER}" ]]; then
USER=${NB_USER}
export USER=${NB_USER}
fi

if [ -f '/usr/share/module.sh' ]; then
Expand Down

0 comments on commit 1da3872

Please sign in to comment.