From 37c9250a527e025b2d33c58cbdcaec629806ba75 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jeremy@system76.com> Date: Tue, 26 Sep 2017 13:17:15 -0600 Subject: [PATCH] Fix output of build script --- build.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/build.rs b/build.rs index cddbfab0..5ee30587 100644 --- a/build.rs +++ b/build.rs @@ -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(); } -- GitLab