Gentoo Archives: gentoo-pms

From: Ulrich Mueller <ulm@g.o>
To: gentoo-pms@l.g.o
Subject: [gentoo-pms] REPLACING_VERSIONS
Date: Mon, 31 Jan 2011 18:24:03
Message-Id: 19782.65079.586135.923720@a1i15.kph.uni-mainz.de
1 PMS currently says: "A whitespace-separated list of versions of this
2 package (including revision, if specified) that are being replaced
3 (uninstalled or overwritten) as a result of this install."
4
5 Shouldn't the spec guarantee that it's the empty string (i.e., not
6 a string containing arbitrary whitespace) if the list is empty?
7 Otherwise simple binary tests like [[ -n ${REPLACING_VERSIONS} ]]
8 cannot be done.
9
10 For REPLACED_BY_VERSION, it is explicitly specified: "The single
11 version ..., or an empty string otherwise."
12
13 Ulrich

Replies

Subject Author
Re: [gentoo-pms] REPLACING_VERSIONS Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>