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 9, 2023
1 parent 9becac2 commit c34896d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conda/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -948,4 +948,4 @@ def main():


if __name__ == '__main__':
main()
main()
5 changes: 4 additions & 1 deletion conda/configure_compass_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ def main():
args = parse_args(bootstrap=False)
source_path = os.getcwd()

if args.tmpdir is not None:
os.makedirs(args.tmpdir)

config = get_config(args.config_file)

conda_base = get_conda_base(args.conda_base, config, warn=True)
Expand Down Expand Up @@ -118,4 +121,4 @@ def main():


if __name__ == '__main__':
main()
main()

0 comments on commit c34896d

Please sign in to comment.