From c8e6f8aaa7d75ebb358dc70b6b6e11bdcc2e2c44 Mon Sep 17 00:00:00 2001 From: Max Kofler Date: Mon, 7 Oct 2024 21:48:12 +0200 Subject: [PATCH] fixup! Add FormulaBuildStep, Formula::get_buildsteps() --- src/model/formula/formulabuildstep.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/model/formula/formulabuildstep.rs b/src/model/formula/formulabuildstep.rs index c6c1401..b313be1 100644 --- a/src/model/formula/formulabuildstep.rs +++ b/src/model/formula/formulabuildstep.rs @@ -28,7 +28,11 @@ impl<'a> EnvironmentExecutable for FormulaBuildstep<'a> { let oid_str = self.formula.oid().to_string(); - let pkg_root_str = dist_dir().join(PathBuf::from(oid_str)).str_lossy(); + let pkg_root_str = PathBuf::from("/") + .join(dist_dir()) + .join("pkg") + .join(PathBuf::from(oid_str)) + .str_lossy(); let install_dir_str = self.install_dir.str_lossy(); map.insert("PKG_NAME", &self.formula.name);