🚑️ fix
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
JMARyA 2025-04-10 18:49:38 +02:00
parent f702e0ce15
commit 5673e19937
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -137,11 +137,11 @@ pub fn build_script_vars(expose: Option<Vec<String>>, vars: &[AskValue]) -> Stri
.iter() .iter()
.map(|x| match x { .map(|x| match x {
AskValue::Text(name, text) => { 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::Number(name, num) => format!("export {name}={num}"),
AskValue::Selection(name, select) => { 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()), AskValue::Bool(name, b) => format!("export {name}='{}'", b.to_string()),
}) })