mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
fix paths so that binary packages can also be XIP
This commit is contained in:
parent
4a2234f539
commit
bc65b88154
1 changed files with 4 additions and 2 deletions
|
|
@ -446,7 +446,8 @@ impl Builder {
|
||||||
let mut found = false;
|
let mut found = false;
|
||||||
for app in self.apps.iter() {
|
for app in self.apps.iter() {
|
||||||
if let Some(n) = &app.name() {
|
if let Some(n) = &app.name() {
|
||||||
if Path::new(service).file_name().unwrap_or_default().to_str().unwrap_or_default() == n {
|
if Path::new(service).file_name().unwrap_or_default().to_str().unwrap_or_default() ==
|
||||||
|
Path::new(n).file_name().unwrap_or_default().to_str().unwrap_or_default() {
|
||||||
if app.is_xip() {
|
if app.is_xip() {
|
||||||
inif.push(service.to_string());
|
inif.push(service.to_string());
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -462,7 +463,8 @@ impl Builder {
|
||||||
}
|
}
|
||||||
for serv in self.services.iter() {
|
for serv in self.services.iter() {
|
||||||
if let Some(n) = &serv.name() {
|
if let Some(n) = &serv.name() {
|
||||||
if Path::new(service).file_name().unwrap_or_default().to_str().unwrap_or_default() == n {
|
if Path::new(service).file_name().unwrap_or_default().to_str().unwrap_or_default() ==
|
||||||
|
Path::new(n).file_name().unwrap_or_default().to_str().unwrap_or_default() {
|
||||||
if serv.is_xip() {
|
if serv.is_xip() {
|
||||||
inif.push(service.to_string());
|
inif.push(service.to_string());
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue