1 |
commit: f8ce2893eaad443efd90b5d93a11e093380113df |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 15 21:35:50 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 16 14:29:15 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=f8ce2893 |
7 |
|
8 |
gen_determineargs.sh: determine_real_args(): Fix style |
9 |
|
10 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
11 |
|
12 |
gen_determineargs.sh | 6 +++--- |
13 |
1 file changed, 3 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/gen_determineargs.sh b/gen_determineargs.sh |
16 |
index b1c038d..fca82b2 100755 |
17 |
--- a/gen_determineargs.sh |
18 |
+++ b/gen_determineargs.sh |
19 |
@@ -591,8 +591,8 @@ determine_real_args() { |
20 |
vars_to_initialize+=( "BUSYBOX_CONFIG" ) |
21 |
vars_to_initialize+=( "DEFAULT_KERNEL_CONFIG" ) |
22 |
|
23 |
- local binpkgs=( $(compgen -A variable |grep '^GKPKG_.*BINPKG$') ) |
24 |
- local binpkg= |
25 |
+ local binpkgs=( $(compgen -A variable |grep '^GKPKG_.*_BINPKG$') ) |
26 |
+ local binpkg |
27 |
for binpkg in "${binpkgs[@]}" |
28 |
do |
29 |
pkg_prefixes+=( "${binpkg%_BINPKG}" ) |
30 |
@@ -608,7 +608,7 @@ determine_real_args() { |
31 |
done |
32 |
unset v vars_to_initialize |
33 |
|
34 |
- declare -gA GKPKG_LOOKUP_TABLE= |
35 |
+ declare -gA GKPKG_LOOKUP_TABLE=() |
36 |
local pn_varname= pn= |
37 |
for v in "${pkg_prefixes[@]}" |
38 |
do |