Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/openrc:master commit in: init.d/
Date: Sun, 02 Oct 2011 17:21:35
Message-Id: 917553475227bdeab70f19edb7a4ea549a1abe8f.WilliamH@gentoo
1 commit: 917553475227bdeab70f19edb7a4ea549a1abe8f
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 2 17:21:17 2011 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 2 17:21:17 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=91755347
7
8 Small style change
9
10 ---
11 init.d/net.lo.in | 5 +++--
12 1 files changed, 3 insertions(+), 2 deletions(-)
13
14 diff --git a/init.d/net.lo.in b/init.d/net.lo.in
15 index 9b6bf64..66e1945 100644
16 --- a/init.d/net.lo.in
17 +++ b/init.d/net.lo.in
18 @@ -41,7 +41,9 @@ depend()
19 done
20 }
21
22 -_array_helper() {
23 +# Support bash arrays - sigh
24 +_array_helper()
25 +{
26 local _a=
27
28 eval _a=\$$1
29 @@ -50,7 +52,6 @@ _array_helper() {
30 [ -n "${_a}" ] && printf "%s\n" "${_a}"
31 }
32
33 -# Support bash arrays - sigh
34 _get_array()
35 {
36 local _a=