We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26d3874 commit d0c7493Copy full SHA for d0c7493
1 file changed
bundler/bundler.py
@@ -88,7 +88,8 @@ def build_conda_package(conda: Path, workdir: Path, targz: Path, conda_distdir:
88
recipe_fn = recipe_dir / 'recipe.yaml'
89
recipe_fn.write_text(recipe)
90
cbenv = workdir / 'cbenv'
91
- sh(f"{conda} create -y -p {cbenv} rattler-build binutils")
+ if not cbenv.exists():
92
+ sh(f"{conda} create -y -p {cbenv} rattler-build binutils")
93
sh(f"{cbenv}/bin/rattler-build build -r {recipe_fn} --output-dir {conda_distdir}")
94
95
0 commit comments