From: | Zac Medico <zmedico@g.o> | ||
---|---|---|---|
To: | gentoo-portage-dev@l.g.o | ||
Cc: | Mike Frysinger <vapier@g.o>, Ambroz Bizjak <ambrop7@×××××.com> | ||
Subject: | Re: [gentoo-portage-dev] [PATCH] Implement host dependencies (HDEPEND) and dependencies only in affect when ROOT != / (targetroot flag). | ||
Date: | Mon, 24 Sep 2012 06:03:48 | ||
Message-Id: | 505FD926.1030805@gentoo.org | ||
In Reply to: | Re: [gentoo-portage-dev] [PATCH] Implement host dependencies (HDEPEND) and dependencies only in affect when ROOT != / (targetroot flag). by Mike Frysinger |
1 | On 09/23/2012 08:44 PM, Mike Frysinger wrote: |
2 | > On Sunday 23 September 2012 22:06:43 Ambroz Bizjak wrote: |
3 | >> + case "$EAPI" in |
4 | > |
5 | > case ${EAPI} in |
6 | > -mike |
7 | |
8 | If somebody manages to corrupt the EAPI with an invalid value containing |
9 | space, then you can get a bash syntax error there if ${EAPI} is |
10 | unquoted. Yeah, it's a user error, but it could confuse them even more |
11 | than they are already if they see the syntax error and think that |
12 | portage is at fault. Also, we might consider that a corrupt EAPI can |
13 | come from a binary package (or /var/db/pkg) enviroment.bz2, and so it |
14 | may not even be the current user who is at fault. |
15 | -- |
16 | Thanks, |
17 | Zac |
Subject | Author |
---|---|
Re: [gentoo-portage-dev] [PATCH] Implement host dependencies (HDEPEND) and dependencies only in affect when ROOT != / (targetroot flag). | Mike Frysinger <vapier@g.o> |