Skip to content

Commit

Permalink
Do not use sourced script args.
Browse files Browse the repository at this point in the history
  • Loading branch information
ktlim committed Feb 10, 2022
1 parent 8502c29 commit f5aa679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/lsstinstall
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ __conda_setup="\$($conda_path/bin/conda shell.\$(basename "\$SHELL") hook 2>/dev
|| { echo "Unknown shell"; exit 1; }
eval "\$__conda_setup" || { echo "Unable to start conda"; exit 1; }
[ -f "$conda_path/etc/profile.d/mamba.sh" ] && . "$conda_path/etc/profile.d/mamba.sh"
export LSST_CONDA_ENV_NAME=\${1:-\${LSST_CONDA_ENV_NAME:-$rubinenv_name}}
export LSST_CONDA_ENV_NAME=\${LSST_CONDA_ENV_NAME:-$rubinenv_name}}
conda activate "\$LSST_CONDA_ENV_NAME" && export EUPS_PKGROOT=\$(cat \$EUPS_PATH/pkgroot)
EOF
fi
Expand Down

0 comments on commit f5aa679

Please sign in to comment.