Gentoo Archives: gentoo-dev

From: "Paweł Hajdan
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in eclass: cdrom.eclass
Date: Sat, 14 Jan 2012 14:23:44
Message-Id: 4F118FBB.4030206@gentoo.org
In Reply to: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in eclass: cdrom.eclass by Ulrich Mueller
1 On 1/14/12 12:21 PM, Ulrich Mueller wrote:
2 > It can't be a USE flag, but something like the following might work:
3 >
4 > # @ECLASS-VARIABLE: CDROM_DISABLE_PROPERTIES
5 > # @DEFAULT_UNSET
6 > # @DESCRIPTION:
7 > # By default, the eclass sets PROPERTIES="interactive".
8 > # A non-empty value of CDROM_DISABLE_PROPERTIES suppresses this.
9 >
10 > [[ -n ${CDROM_DISABLE_PROPERTIES} ]] || PROPERTIES="interactive"
11
12 LGTM (looks good to me)

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies