diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-07-01 17:38:22 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-07-01 21:52:24 +0200 |
commit | 712b70757e272e5b41c07a17993ccbb43e7ff84c (patch) | |
tree | 0ba2faca91193ac4d721808a81ca437ef303703c /functions | |
parent | b088a105a7aca2f725168393eaee4e6c19cec784 (diff) | |
download | mkinitcpio-712b70757e272e5b41c07a17993ccbb43e7ff84c.tar.gz mkinitcpio-712b70757e272e5b41c07a17993ccbb43e7ff84c.tar.xz |
functions: call _add_file directly from add_module
This avoids an expensive stat call and some other unnecessary path
juggling.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -193,7 +193,7 @@ add_module() { return 1 fi - add_file "${path#$BASEDIR}" + _add_file "${path#$BASEDIR}" "$path" 644 ADDED_MODULES+=("${module//-/_}") # explicit module depends |