Gentoo Archives: gentoo-pms

From: Patrick Lauer <patrick@g.o>
To: gentoo-pms@l.g.o
Subject: [gentoo-pms] Mismatch between tree and PMS
Date: Fri, 18 Sep 2009 14:01:19
Message-Id: 200909181601.20775.patrick@gentoo.org
For a long time (about a year, as far as I can tell) PMS has failed to 
document the bash version needed properly. Relying on PMS will not yield a 
working package manager in this case as in-tree ebuilds and eclasses have 
moved on for quite some time. This simple one-character fix should make PMS 
respect reality for that part again:


diff --git a/ebuild-format.tex b/ebuild-format.tex
index d6c8270..d814cfa 100644
--- a/ebuild-format.tex
+++ b/ebuild-format.tex
@@ -2,7 +2,7 @@
 \label{sec:ebuild-format}

 The ebuild file format is in its basic form a subset of the format of a bash 
script. The interpreter
-is assumed to be GNU bash, version 3.0 or later. The file encoding must be 
UTF-8 with Unix-style
+is assumed to be GNU bash, version 3.2 or later. The file encoding must be 
UTF-8 with Unix-style
 newlines. When sourced, the
 ebuild must define certain variables and functions (see 
sections~\ref{sec:ebuild-vars} and
 \ref{sec:ebuild-functions} for specific information), and must not call any 
external programs, write

Replies

Subject Author
Re: [gentoo-pms] Mismatch between tree and PMS Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>