fix bug with virtualenv loading
This commit is contained in:
		@@ -85,8 +85,6 @@ CREATE_VIRTUALENV__scwrypts__py() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	DEPENDENCIES=(virtualenv) CHECK_ENVIRONMENT || return 1
 | 
						DEPENDENCIES=(virtualenv) CHECK_ENVIRONMENT || return 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	local VIRTUALENV_PATH="$1"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	STATUS 'creating python virtualenv'
 | 
						STATUS 'creating python virtualenv'
 | 
				
			||||||
	local PY PYTHON
 | 
						local PY PYTHON
 | 
				
			||||||
	for PY in $(echo $SCWRYPTS_PREFERRED_PYTHON_VERSIONS__scwrypts)
 | 
						for PY in $(echo $SCWRYPTS_PREFERRED_PYTHON_VERSIONS__scwrypts)
 | 
				
			||||||
@@ -141,8 +139,6 @@ CREATE_VIRTUALENV__scwrypts__zx() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	DEPENDENCIES=(nodeenv) CHECK_ENVIRONMENT || return 1
 | 
						DEPENDENCIES=(nodeenv) CHECK_ENVIRONMENT || return 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	local VIRTUALENV_PATH="$1"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	STATUS 'setting up nodeenv'
 | 
						STATUS 'setting up nodeenv'
 | 
				
			||||||
	nodeenv $VIRTUALENV_PATH --node=$SCWRYPTS_NODE_VERSION__scwrypts \
 | 
						nodeenv $VIRTUALENV_PATH --node=$SCWRYPTS_NODE_VERSION__scwrypts \
 | 
				
			||||||
		&& SUCCESS 'node virtualenv created' \
 | 
							&& SUCCESS 'node virtualenv created' \
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -18,7 +18,7 @@ MAIN() {
 | 
				
			|||||||
	
 | 
						
 | 
				
			||||||
	REMINDER "
 | 
						REMINDER "
 | 
				
			||||||
		this will permanently remove all artifacts for the scwrypts $ENV_TYPE environment
 | 
							this will permanently remove all artifacts for the scwrypts $ENV_TYPE environment
 | 
				
			||||||
		(safe unless you have put something important in $(GET_VIRTUALENV_PATH $ENV_GROUP $ENV_TYPE))
 | 
							(safe unless you have put something important in $(_VIRTUALENV__GET_PATH $ENV_GROUP $ENV_TYPE))
 | 
				
			||||||
		"
 | 
							"
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
	Yn "drop and recreate $ENV_TYPE virtual environment?" || ABORT
 | 
						Yn "drop and recreate $ENV_TYPE virtual environment?" || ABORT
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user