diff --git a/pkg/recipe/recipe.go b/pkg/recipe/recipe.go index 0ac5a85c..d172a1f5 100644 --- a/pkg/recipe/recipe.go +++ b/pkg/recipe/recipe.go @@ -267,11 +267,15 @@ func (r Recipe) SampleEnv() (map[string]string, error) { } func Get2(name string) Recipe2 { - return Recipe2{Name: name} + return Recipe2{ + Name: name, + Dir: path.Join(config.RECIPES_DIR, name), + } } type Recipe2 struct { Name string + Dir string } // Ensure makes sure the recipe exists, is up to date and has the latest version checked out.