Skip to content
Snippets Groups Projects
Commit 2bdf2fc8 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

fix export of MOD_BASE variable

parent 1de22d5b
No related branches found
No related tags found
No related merge requests found
......@@ -438,8 +438,6 @@ void parse_compute_resolve(unsigned int idx, resolve_service_t *ares, unsigned i
res->path.status = compute_status(wres, info) ;
res->path.servicedir = compute_servicedir(wres, info) ;
res->path.home = resolve_add_string(wres, info->base.s) ;
/* live */
res->live.livedir = resolve_add_string(wres, info->live.s) ;
......
......@@ -204,7 +204,7 @@ int parse_frontend(char const *sv, resolve_service_t *ares, unsigned int *aresle
res.owner = info->owner ;
res.ownerstr = resolve_add_string(wres, info->ownerstr) ;
res.path.home = resolve_add_string(wres, info->base.s) ;
res.path.frontend = resolve_add_string(wres, sv) ;
/** logger is set by default. if service is a module
......
......@@ -71,8 +71,8 @@ int write_common(resolve_service_t *res, char const *dst)
if (!write_uint(dst, "down-signal", res->execute.downsignal))
log_warnusys_return(LOG_EXIT_ZERO, "write uint file down-signal") ;
/** environment */
if (res->environ.env) {
/** environment for module is already written by the regex_configure() function */
if (res->environ.env && res->type != TYPE_MODULE) {
stralloc dst = STRALLOC_ZERO ;
stralloc contents = STRALLOC_ZERO ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment