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

bug fix: pass trough seed file only for 66-enable process, use new interface...

bug fix: pass trough seed file only for 66-enable process, use new interface of tree_isvalid() function
parent aa0cd2e8
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ int tree_sethome(ssexec_t *info) ...@@ -54,7 +54,7 @@ int tree_sethome(ssexec_t *info)
} else { } else {
r = tree_isvalid(info) ; r = tree_isvalid(info->base.s, info->treename.s) ;
if (r < 0) { if (r < 0) {
/** The tree name exist on the system /** The tree name exist on the system
...@@ -66,7 +66,7 @@ int tree_sethome(ssexec_t *info) ...@@ -66,7 +66,7 @@ int tree_sethome(ssexec_t *info)
/** Tree doesn't exist yet. /** Tree doesn't exist yet.
* Let see if we have a seed/<name> to create it, * Let see if we have a seed/<name> to create it,
* but only if we come from the 66-enable tool. */ * but only if we come from the 66-enable tool. */
if (strcmp(info->prog, "66-enable")) if (!strcmp(info->prog, "66-enable"))
return 0 ; return 0 ;
if (!tree_seed_isvalid(info->treename.s)) if (!tree_seed_isvalid(info->treename.s))
......
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