aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc-make/exec.c')
-rw-r--r--src/blogc-make/exec.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/blogc-make/exec.c b/src/blogc-make/exec.c
index 551c7d7..a324d47 100644
--- a/src/blogc-make/exec.c
+++ b/src/blogc-make/exec.c
@@ -235,6 +235,12 @@ bm_exec_build_blogc_cmd(const char *blogc_bin, bm_settings_t *settings,
bc_string_append(rv, blogc_bin);
if (settings != NULL) {
+ if (settings->tags != NULL) {
+ char *tags = bc_strv_join(settings->tags, " ");
+ bc_string_append_printf(rv, " -D TAG_CLOUD='%s'", tags);
+ free(tags);
+ }
+
bc_trie_foreach(settings->global,
(bc_trie_foreach_func_t) list_variables, rv);
}