From: Sebastian Pipping Date: Sun, 12 Aug 2012 18:06:34 +0000 (+0200) Subject: Extract variable _MODULES_LOAD to resolve duplication and later re-use X-Git-Tag: v3.4.41~4^2~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4588b75c1eec719a59074caca407c20147313348;p=genkernel.git Extract variable _MODULES_LOAD to resolve duplication and later re-use --- diff --git a/genkernel b/genkernel index 200b3fb..b314440 100755 --- a/genkernel +++ b/genkernel @@ -102,7 +102,8 @@ get_official_arch # Read arch-specific config source ${ARCH_CONFIG} || gen_die "Could not read ${ARCH_CONFIG}" -source ${GK_SHARE}/arch/${ARCH}/modules_load || gen_die "Could not read ${GK_SHARE}/arch/${ARCH}/modules_load" +_MODULES_LOAD=${GK_SHARE}/arch/${ARCH}/modules_load +source "${_MODULES_LOAD}" || gen_die "Could not read ${_MODULES_LOAD}" # Merge modules_load from config for group_modules in ${!AMODULES_*}; do