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

This commit is contained in:
JMARyA 2025-04-10 18:44:23 +02:00
parent aa231276af
commit f702e0ce15
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()
.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()),
})