Gentoo Archives: gentoo-dev

From: Nirbheek Chauhan <nirbheek@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Small review on function return codes and simplicity
Date: Tue, 31 Mar 2009 18:27:23
Message-Id: 8b4c83ad0903311127s676100f7q109f429295626f79@mail.gmail.com
In Reply to: Re: [gentoo-dev] Small review on function return codes and simplicity by Ciaran McCreesh
1 On Tue, Mar 31, 2009 at 11:52 PM, Ciaran McCreesh
2 <ciaran.mccreesh@××××××××××.com> wrote:
3 > What's with that -n thing? If you're going for less complicated, you
4 > might as well go the whole hog:
5 >
6 >    java-pkg_func-exists() {
7 >        declare -f ${1} >/dev/null
8 >    }
9 >
10
11 I think this is where we should stop ;)
12
13 --
14 ~Nirbheek Chauhan