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

skip current tree

parent 1d9afb1e
No related branches found
No related tags found
No related merge requests found
...@@ -154,6 +154,7 @@ int parse_service_opts_deps(ssexec_t *info,stralloc *parsed_list,stralloc *opts_ ...@@ -154,6 +154,7 @@ int parse_service_opts_deps(ssexec_t *info,stralloc *parsed_list,stralloc *opts_
{ {
found = 0 ; found = 0 ;
char *tree = opts_deps_list->s + pos ; char *tree = opts_deps_list->s + pos ;
if (obstr_equal(tree,info->treename.s)) continue ;
size_t treelen = strlen(tree) ; size_t treelen = strlen(tree) ;
char tmp[baselen + 1 + treelen + SS_SVDIRS_LEN + 1] ; char tmp[baselen + 1 + treelen + SS_SVDIRS_LEN + 1] ;
auto_strings(tmp,btmp,"/",tree,SS_SVDIRS) ; auto_strings(tmp,btmp,"/",tree,SS_SVDIRS) ;
......
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