projects
/
genkernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a725f02
)
Extract variable _MODULES_LOAD to resolve duplication and later re-use
author
Sebastian Pipping
<sebastian@pipping.org>
Sun, 12 Aug 2012 18:06:34 +0000
(20:06 +0200)
committer
Sebastian Pipping
<sebastian@pipping.org>
Sun, 12 Aug 2012 18:13:21 +0000
(20:13 +0200)
genkernel
patch
|
blob
|
history
diff --git
a/genkernel
b/genkernel
index 200b3fbf4414c30dbd8e2699aac879b9c3404f15..b31444069248f2b695bc9abb66e0d4658d168eb9 100755
(executable)
--- 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