Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
packing_append_tree(): Add directories, too.
Will Andrews committed 14 years ago
commit 8297630d4dd21b8c44013da47c289de7cbf842ce
parent 4f0aef3
1 file changed +1 -0
modified libpkg/packing.c
@@ -156,6 +156,7 @@ packing_append_tree(struct packing *pack, const char *treepath, const char *newr
	while ((fts_e = fts_read(fts)) != NULL) {
		switch(fts_e->fts_info) {
		case FTS_F:
+
		case FTS_D:
			 /* Skip entries that are shorter than the tree itself */
			 if (fts_e->fts_pathlen <= treelen)
				  break;