summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-07-09 16:44:52 +0200
committerDave Reisner <dreisner@archlinux.org>2011-07-09 16:57:40 +0200
commit8df95abf67b3fe56d0a9b621f07bb0444a75e758 (patch)
tree55ec2c970187d0d917654852107e016bd47d5f50
parent1e19daef1537cb3a3c5608037f82a494822746b1 (diff)
downloadmkinitcpio-8df95abf67b3fe56d0a9b621f07bb0444a75e758.tar.gz
mkinitcpio-8df95abf67b3fe56d0a9b621f07bb0444a75e758.tar.xz
functions: restore verbose feedback to add_module
Since we no longer call _add_file from add_module, we lose our 'adding file..' feedback on -v. Explicitly mention each module alongside addition of the path/name to the associated arrays. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r--functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions b/functions
index 7581933..3c0cd89 100644
--- a/functions
+++ b/functions
@@ -167,6 +167,7 @@ add_module() {
fi
# aggregate modules and add them all at once to save some forks
+ (( QUIET )) || plain "adding module: %s" "$1"
MODPATHS+=("$path")
ADDED_MODULES+=("${module//-/_}")