Bootstrap changes
This commit is contained in:
parent
c3c1c8d4e0
commit
e501a87e89
7 changed files with 96 additions and 36 deletions
|
|
@ -1129,7 +1129,7 @@ impl Build {
|
|||
ret
|
||||
}
|
||||
|
||||
fn read_stamp_file(&self, stamp: &Path) -> Vec<PathBuf> {
|
||||
fn read_stamp_file(&self, stamp: &Path) -> Vec<(PathBuf, bool)> {
|
||||
if self.config.dry_run {
|
||||
return Vec::new();
|
||||
}
|
||||
|
|
@ -1142,8 +1142,9 @@ impl Build {
|
|||
if part.is_empty() {
|
||||
continue
|
||||
}
|
||||
let path = PathBuf::from(t!(str::from_utf8(part)));
|
||||
paths.push(path);
|
||||
let host = part[0] as char == 'h';
|
||||
let path = PathBuf::from(t!(str::from_utf8(&part[1..])));
|
||||
paths.push((path, host));
|
||||
}
|
||||
paths
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue