fix: pkgr->ext pkgrfile
This commit is contained in:
parent
f54c72c8ec
commit
ee81acb953
3 changed files with 6 additions and 6 deletions
|
@ -30,12 +30,12 @@ pub fn mani_from_str(s: &str) -> Manifest<Option<PKGR>> {
|
|||
fs: mani.fs,
|
||||
bin: mani.bin,
|
||||
build: mani.build,
|
||||
pkgr: bmani.pkgr,
|
||||
ext: bmani.pkgr,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn run_bootstrap(mani: Manifest<Option<PKGR>>) -> bool {
|
||||
if let Some(pkgr) = mani.pkgr {
|
||||
if let Some(pkgr) = mani.ext {
|
||||
if let Some(bootstrap) = pkgr.bootstrap {
|
||||
fn run_command<S: Into<String>>(s: S) -> i32 {
|
||||
std::process::Command::new("sh")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue