aboutsummaryrefslogtreecommitdiff
path: root/src/manifest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/manifest.c')
-rw-r--r--src/manifest.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/manifest.c b/src/manifest.c
index c401cb2..df8d056 100644
--- a/src/manifest.c
+++ b/src/manifest.c
@@ -13,7 +13,11 @@
*/
Manifest *manifest_from(const char *package_dir) {
FSTree *fsdata = NULL;
- fsdata = fstree(package_dir);
+ char *filter[] = {
+ SPM_PACKAGE_EXTENSION,
+ NULL,
+ };
+ fsdata = fstree(package_dir, filter);
Manifest *info = (Manifest *)calloc(1, sizeof(Manifest));
info->records = fsdata->files_length;