This commit is contained in:
parent
f702e0ce15
commit
5673e19937
1 changed files with 2 additions and 2 deletions
|
@ -137,11 +137,11 @@ pub fn build_script_vars(expose: Option<Vec<String>>, vars: &[AskValue]) -> Stri
|
|||
.iter()
|
||||
.map(|x| match x {
|
||||
AskValue::Text(name, text) => {
|
||||
format!("export {name}={}", enquote::enquote('\'', text))
|
||||
format!("export {name}={}", enquote::enquote('"', text))
|
||||
}
|
||||
AskValue::Number(name, num) => format!("export {name}={num}"),
|
||||
AskValue::Selection(name, select) => {
|
||||
format!("export {name}={}", enquote::enquote('\'', select))
|
||||
format!("export {name}={}", enquote::enquote('"', select))
|
||||
}
|
||||
AskValue::Bool(name, b) => format!("export {name}='{}'", b.to_string()),
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue