Skip to content

Commit

Permalink
Only copy the recipe if it exists (#356)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhirschfeld committed Jun 25, 2023
1 parent a2d5e4a commit 46df7e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion boa/core/recipe_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ def copy_recipe(m):
_copy_output_recipe(m, recipe_dir)
else:
_copy_top_level_recipe(m.path, m.config, recipe_dir)
original_recipe = m.meta_path
if exists(m.meta_path):
original_recipe = m.meta_path

output_metadata = m.copy()
# hard code the build string, so that tests don't get it mixed up
Expand Down

0 comments on commit 46df7e4

Please sign in to comment.