Gentoo Archives: gentoo-amd64

From: ABCD <en.ABCD@×××××.com>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Re: How to use &&
Date: Mon, 05 Jan 2009 22:32:28
Message-Id: gju1pe$vfs$1@ger.gmane.org
In Reply to: [gentoo-amd64] Re: How to use && by Duncan <1i5t5.duncan@cox.net>
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Duncan wrote:
5 > # we need PORTAGE_NICENESSS from make.conf to run eupdatedb
6 > portnice=$(source /etc/make.conf;echo $PORTAGE_NICENESS)
7 > [ -z $portnice ] && portnice=0
8 > nice -n${portnice} eupdatedb &
9
10 Just as a suggestion, you can get PORTAGE_NICENESS (and any other
11 environment variable) directly from portage:
12 portnice=$(portageq envvar PORTAGE_NICENESS)
13
14 This lets portage scan all of its configuration files (make.globals,
15 make.conf, and the various profile versions), and will report the value
16 that portage actually uses.
17
18 - --
19 ABCD
20 -----BEGIN PGP SIGNATURE-----
21 Version: GnuPG v2.0.9 (GNU/Linux)
22 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
23
24 iEYEARECAAYFAkliimwACgkQOypDUo0oQOrP4wCgkj18BJDH61Pk33gM9sD9r4zA
25 d4YAoIMI8sguWpkgTX6CLedNL9jJSAVz
26 =IIKK
27 -----END PGP SIGNATURE-----

Replies

Subject Author
[gentoo-amd64] Re: How to use && Duncan <1i5t5.duncan@×××.net>