Fix quoted strings in linux

This commit is contained in:
Jonathan Turner 2019-06-05 14:27:53 +12:00
parent 02e6ee6991
commit 8cb77034f3

View file

@ -400,7 +400,7 @@ impl Leaf {
fn as_external_arg(&self) -> String { fn as_external_arg(&self) -> String {
match self { match self {
Leaf::String(s) => format!("{}", s), Leaf::String(s) => format!("\"{}\"", s),
Leaf::Bare(path) => format!("{}", path.to_string()), Leaf::Bare(path) => format!("{}", path.to_string()),
Leaf::Boolean(b) => format!("{}", b), Leaf::Boolean(b) => format!("{}", b),
Leaf::Int(i) => format!("{}", i), Leaf::Int(i) => format!("{}", i),