Skip to content

Commit de3b58a

Browse files
committed
* Fixed typo leading to creation of wrong dirs in some circumstances
1 parent a0bc030 commit de3b58a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ void node_product_add(struct node *n, const char *prod, char pathbuf[PATH_MAX])
859859
while (vlist_iter_next(&iter)) {
860860
char path[PATH_MAX];
861861
utils_strnncpy(path, iter.item, iter.len, sizeof(path));
862-
prod = path_normalize(prod, path);
862+
prod = path_normalize(path, pathbuf);
863863
node_product_add_raw(n, prod);
864864
}
865865
} else {

0 commit comments

Comments
 (0)