From 712b70757e272e5b41c07a17993ccbb43e7ff84c Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Fri, 1 Jul 2011 11:38:22 -0400 Subject: 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 Signed-off-by: Dan McGee --- functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions b/functions index 806ed03..7dfec4c 100644 --- a/functions +++ b/functions @@ -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 -- cgit v1.2.3-24-g4f1b