From: | "Petteri Räty" <betelgeuse@g.o> | ||
---|---|---|---|
To: | gentoo-portage-dev@l.g.o | ||
Subject: | Re: [gentoo-portage-dev] [PATCH] make dodoc return better values | ||
Date: | Sun, 27 Nov 2005 00:59:41 | ||
Message-Id: | 438904D2.7070007@gentoo.org | ||
In Reply to: | [gentoo-portage-dev] [PATCH] make dodoc return better values by "Petteri Räty" |
1 | Petteri Räty wrote: |
2 | > Now dodoc always returns with success. I adjusted dodoc to return with |
3 | > better values. This way I can do the following in my bashrc. It would |
4 | > probably be better to do something like this by default, but that is an |
5 | > another discussion. |
6 | > |
7 | > Regards, |
8 | > Petteri |
9 | > |
10 | > |
11 | |
12 | Hmm. Forgot to add what I do in my bashrc: |
13 | |
14 | dodoc() { |
15 | /usr/lib/portage/bin/dodoc "${@}" || die "dodoc failed" |
16 | } |
17 | |
18 | Any way this makes dodoc || also useful in ebuilds. |
19 | |
20 | Regards, |
21 | Petteri |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |