summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions3
1 files changed, 2 insertions, 1 deletions
diff --git a/functions b/functions
index 314748f..ac7da7e 100644
--- a/functions
+++ b/functions
@@ -167,7 +167,8 @@ add_module() {
return 1
fi
- _add_file "${path#$BASEDIR}" "$path" 644
+ # aggregate modules and add them all at once to save some forks
+ MODPATHS+=("$path")
ADDED_MODULES+=("${module//-/_}")
# explicit module depends