mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 17:10:04 +00:00 
			
		
		
		
	Add user-setup.sh to configure-environment.sh
This commit is contained in:
		
							parent
							
								
									9ec1a62403
								
							
						
					
					
						commit
						0b3f2c49db
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -4,6 +4,11 @@ script_dir="$(dirname "$(readlink -f "$0")")" | ||||||
| # Assign user-specified Python Virtual Environment | # Assign user-specified Python Virtual Environment | ||||||
| [ "${1:-}" = "none" ] && unset venv_path || export venv_path="$(readlink -f "${1:-${script_dir}/../.venv}")" | [ "${1:-}" = "none" ] && unset venv_path || export venv_path="$(readlink -f "${1:-${script_dir}/../.venv}")" | ||||||
| 
 | 
 | ||||||
|  | # Load custom build settings | ||||||
|  | if [ -f "${script_dir}/lib/user-setup.sh" ]; then | ||||||
|  |     source "${script_dir}/lib/user-setup.sh" | ||||||
|  | fi | ||||||
|  | 
 | ||||||
| # Activate Python Virtual Environment | # Activate Python Virtual Environment | ||||||
| if [ -n "${venv_path:-}" ]; then | if [ -n "${venv_path:-}" ]; then | ||||||
|     python -m venv "${venv_path}" |     python -m venv "${venv_path}" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat