Skip to content

Commit

Permalink
fix call to variables when they are not set (bioconda#15916)
Browse files Browse the repository at this point in the history
  • Loading branch information
pirovc authored and epruesse committed Jun 15, 2019
1 parent 13c639b commit c9e1a1e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ def _write_custom_activate(install_path):
'WORKSPACE': args.bootstrap,
'BOOTSTRAP': "true",
'USE_DOCKER': use_docker,
'PATH': os.environ['PATH'],
'HTTPS_PROXY': os.environ['HTTPS_PROXY'],
'https_proxy': os.environ['https_proxy']
'PATH': os.environ.get('PATH', ""),
'HTTPS_PROXY': os.environ.get('HTTPS_PROXY', ""),
'https_proxy': os.environ.get('https_proxy', "")
}

sp.check_call(['.circleci/setup.sh'], env=env)
Expand Down

0 comments on commit c9e1a1e

Please sign in to comment.