carbon-config

config submodule of carbon-core-system
git clone https://ccx.te2000.cz/git/carbon-config
Log | Files | Refs

commit 5fbf5dbc3eec9722cbbac88d60cd09a75ec50c0b
parent f8b8659dff328a5ce164fb6875706c54081d060e
Author: Jan Pobříslo <ccx@te2000.cz>
Date:   Wed,  2 Nov 2022 01:46:53 +0100

Create empty content files for bundles

Diffstat:
Mrc-common.aat | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/rc-common.aat b/rc-common.aat @@ -2,7 +2,11 @@ |gsub("[ \t]+", "\n", deps) # Allow whitespace-separated dependencies for readability /{{name}} d m755 /{{name}}/type cN {{type}} m644 -/{{name}}/{{ type == "bundle" ? "contents" : "dependencies" }}{{ deps?C(deps)"m644":"\tr\t" }} +|if(type == "bundle") { # contents file is required even if empty +/{{name}}/contents{{ C(deps)"m644" }} +|} else { +/{{name}}/dependencies{{ deps?C(deps)"m644":"\tr\t" }} +|} | return name |} |function with_counter(base_name, suffix) {