Skip to content

Commit

Permalink
fixup! Add FormulaBuildStep, Formula::get_buildsteps()
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkofler committed Oct 7, 2024
1 parent f46c98a commit c8e6f8a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/model/formula/formulabuildstep.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c8e6f8a

Please sign in to comment.