Fix output of build script

This commit is contained in:
Jeremy Soller
2017-09-26 13:17:15 -06:00
parent 23e30c14a8
commit 37c9250a52

View File

@@ -106,14 +106,15 @@ mod gen {
Ok(v) => fill_from_location(&mut f, Path::new(&v)).unwrap(),
Err(e) => {
f.write_all(
b" files.clear();" // Silence mutability warning
).unwrap();
b" files.clear();" // Silence mutability warning
).unwrap();
println!("cargo:warning=location not found: {}, please set proper INITFS_FOLDER.", e);
}
}
f.write_all(b" files
f.write_all(b"
files
}
}
").unwrap();
").unwrap();
}