Extract variable _MODULES_LOAD to resolve duplication and later re-use

cleanup-cruft
Sebastian Pipping 13 years ago
parent a725f02d00
commit 4588b75c1e

@ -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

Loading…
Cancel
Save