Skip to content

Commit

Permalink
Make the tmpdir if it doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
xylar committed Feb 28, 2023
1 parent 9f1c219 commit f7b0fb0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions conda/configure_compass_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ def main():
args = parse_args(bootstrap=False)
source_path = os.getcwd()

if args.tmpdir is not None:
try:
os.makedirs(args.tmpdir)
except FileExistsError:
pass

config = get_config(args.config_file)

conda_base = get_conda_base(args.conda_base, config, warn=True)
Expand Down

0 comments on commit f7b0fb0

Please sign in to comment.