Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Cc: freedesktop-bugs@g.o
Subject: [gentoo-dev] Re: New eclass: xdg-basedir
Date: Thu, 30 Jan 2014 13:04:04
Message-Id: 21226.19896.892967.501901@a1i15.kph.uni-mainz.de
In Reply to: [gentoo-dev] Re: New eclass: xdg-basedir by Michael Palimaka
1 >>>>> On Thu, 30 Jan 2014, Michael Palimaka wrote:
2
3 > 2. xdg-basedir-setup -> xdg-basedir_setup is more consistent with
4 > other modern eclasses, especially if there are additional functions
5 > in the future.
6
7 It may be little known, but strictly speaking, hyphens in bash
8 identifiers are illegal:
9
10 `name'
11 A `word' consisting solely of letters, numbers, and underscores,
12 and beginning with a letter or underscore. `Name's are used as
13 shell variable and function names. Also referred to as an
14 `identifier'.
15
16 This isn't specific to xdg-basedir though, but a problem that most of
17 our eclasses suffer from.
18
19 Ulrich

Replies

Subject Author
Re: [gentoo-dev] Re: New eclass: xdg-basedir Jeroen Roovers <jer@g.o>