File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,9 @@ current_env=$(conda info --envs | grep -v '^#' | awk '/\*/{print $1}')
7878
7979# Ask the user to confirm RMS is being installed in the correct conda environemnt.
8080# Skip confirmation if this is run under continuous mode.
81- if [ " $RMS_INSTALLER " != " continuous" ]; then
81+ if [ " $RMS_INSTALLER " = " continuous" ]; then
82+ echo " Current conda environment: $current_env "
83+ else
8284 echo " Please confirm that you want to install RMS into the current conda environment: '$current_env '"
8385 echo " If this is not correct, abort and activate the correct environment before rerunning."
8486 read -p " Proceed with installation in '$current_env '? (y/N): " confirm
@@ -91,8 +93,6 @@ if [ "$RMS_INSTALLER" != "continuous" ]; then
9193 return 1
9294 ;;
9395 esac
94- else
95- echo " Current conda environment: $current_env "
9696fi
9797
9898# Set environment variables for the current environment, for future uses
You can’t perform that action at this time.
0 commit comments