Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Making dobin, doexe, doins, doman, dodoc die by default
Date: Fri, 14 Jul 2006 03:46:50
Message-Id: 200607132332.40496.vapier@gentoo.org
In Reply to: [gentoo-dev] Making dobin, doexe, doins, doman, dodoc die by default by Stefan Schweizer
1 On Wednesday 12 July 2006 13:37, Stefan Schweizer wrote:
2 > SpanKY complained that he cannot set a custom die message then. But this is
3 > not needed here, since every do* command can be clearly identified by the
4 > argument and the directory it will be installed to.
5
6 except for the times where the do funcs can install the same file in different
7 code paths
8
9 > Also as Paul suggested something like that would be possible for a custom
10 > die message:
11 > if [[ -n "${DIE_MSG}" ]] ; then
12 > echo "!!! ${DIE_MSG}"
13 > fi
14
15 ugh, ugly
16 DIE_MSG="failed to install root bins" dosbin fooie
17
18 dosbin fooie || die "failed to install root bins"
19
20 you tell me which is already a clean/common standard in the tree
21
22 > They are imo QA problems and should be fixed.
23
24 crazy idea, grep your /var/log/portage/ logs and file bugs
25 -mike

Replies