Skip to content

Commit

Permalink
Merge pull request #112 from DIRACGrid/chrisburr/workaround-issue-109
Browse files Browse the repository at this point in the history
Workaround for if PS1 is not exported
  • Loading branch information
chaen authored Jul 24, 2023
2 parents 24aecb9 + 8156014 commit dedf2d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion create_diracosrc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
echo ''
echo '# Initialise the conda environment in a way which ignores other conda installations'
echo 'unset CONDA_SHLVL'
echo 'eval "$(${DIRACOS}/bin/micromamba shell hook activate -s bash)"'
echo 'eval "$(PS1="${PS1:-}" ${DIRACOS}/bin/micromamba shell hook activate -s bash)"'
echo 'micromamba activate "$DIRACOS"'
echo ''
echo '# Silence python warnings'
Expand Down

0 comments on commit dedf2d4

Please sign in to comment.