mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-24 22:04:19 +08:00
Make appstream env consistent
This commit is contained in:
parent
f676e25f80
commit
356ef86085
@ -78,7 +78,7 @@ endif
|
||||
endif
|
||||
|
||||
ifeq ($(REPO_APPSTREAM),1)
|
||||
export COOKBOOK_APPSTREAM="1"
|
||||
export COOKBOOK_APPSTREAM=true
|
||||
endif
|
||||
ifeq ($(REPO_NONSTOP),1)
|
||||
export COOKBOOK_NONSTOP=true
|
||||
|
||||
@ -90,7 +90,7 @@ fn publish_packages(recipe_list: Vec<String>, repo_dir: String) -> anyhow::Resul
|
||||
}
|
||||
|
||||
// === 2. Optional AppStream generation ===
|
||||
if env::var("COOKBOOK_APPSTREAM").ok().as_deref() == Some("1") {
|
||||
if env::var("COOKBOOK_APPSTREAM").ok().as_deref() == Some("true") {
|
||||
eprintln!("\x1b[01;38;5;155mrepo - generating appstream data\x1b[0m");
|
||||
|
||||
let root = env::var("ROOT").unwrap_or_else(|_| ".".into());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user