Gentoo Archives: gentoo-pms

From: Ulrich Mueller <ulm@g.o>
To: gentoo-pms@l.g.o
Cc: grobian@g.o
Subject: [gentoo-pms] Patch for review: Fix scope of ED variable
Date: Thu, 02 Dec 2010 17:37:50
Message-Id: 19703.55641.306138.299783@a1i15.kph.uni-mainz.de
PMS says that ED would only be defined in src_install. This looks like
a mistake to me, because ED should have the same scope as D.

Please included below, please review.

Ulrich


From fdc3571bb9e41946606db00ee15de9ec50febb47 Mon Sep 17 00:00:00 2001
From: Ulrich Mueller <ulm@g.o>
Date: Thu, 2 Dec 2010 18:32:48 +0100
Subject: [PATCH] Fix scope of ED variable.

---
 ebuild-env-vars.tex |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
index 87333f2..8bb5ee6 100644
--- a/ebuild-env-vars.tex
+++ b/ebuild-env-vars.tex
@@ -144,7 +144,7 @@ variable.
     Contains the full path to the image that is about to be or has just been merged. Must be
     non-empty and end in a trailing slash. \\
 \t{ED} &
-    \t{src\_install} &
+    \t{src\_install}, \t{pkg\_preinst}, \t{pkg\_postinst} &
     See \t{D} &
     Like \t{D}, but with \t{EPREFIX} appended. This is a convenience variable. See also the
     \t{EPREFIX} variable. \\
-- 
1.7.3.2

Replies

Subject Author
Re: [gentoo-pms] Patch for review: Fix scope of ED variable Ulrich Mueller <ulm@g.o>