Gentoo Archives: gentoo-dev

From: "Jorge Manuel B. S. Vicetto" <jmbsvicetto@g.o>
To: gentoo-dev <gentoo-dev@l.g.o>
Subject: [gentoo-dev] Gentoo's plan to remove .la files: eutils function
Date: Sun, 31 Oct 2010 04:28:42
Message-Id: 4CCCF07A.30200@gentoo.org
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hi.
5
6 As outlined in the global email about this issue, this email is to start
7 a thread about the eutils function. Please reply to this thread if you
8 have any comments about this point.
9
10 1. Add a function to eutils to deal with the removal of the .la files.
11
12 delete_libtool_archives() { find "${@:$D}" -name '*.la' -delete }
13
14 That function was suggested by Diego, but Arfrever has argued that we
15 should replace : with - as '"${@:$D}" expands to a subarray containing
16 elements starting with element with index $D (where element 0 is $0)'.
17 The point in having this function in eutils is to ensure we use a
18 consistent way to address the .la files. This will also make it much
19 easier to adapt or review this function if needed.
20
21
22 - --
23 Regards,
24
25 Jorge Vicetto (jmbsvicetto) - jmbsvicetto at gentoo dot org
26 Gentoo- forums / Userrel / Devrel / KDE / Elections / RelEng
27 -----BEGIN PGP SIGNATURE-----
28 Version: GnuPG v2.0.16 (GNU/Linux)
29 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
30
31 iQIcBAEBAgAGBQJMzPB6AAoJEC8ZTXQF1qEPYDoP/jUmq4pu7xK3rWd8TiK372Sn
32 uZ/pRiwUgZsOOTV8nvVwA5KjliHPqC0nMCxrZWrWEW6v9+trwPWQFCjQ99AGhgM3
33 EaOZnFEdTR7w7ybOfSYllGUR/iaquvwg9jUx+QZx4g5Qu6WF8ZkHyHGCYtRJqfQY
34 +uJyIXbY+FyIW79ss3L7MYaKgdLk8es4AbvAViH9USf6H8oqJeeHoIi60ebdrNcj
35 Z4vGB5r3pj38lOQVC6c1XxV9xqMsKCCIqx+ftr7gZBrb+82ddCSmRy81gqCm2oo/
36 9AVBTksbgtFsXJt3GMVzwFtN6rqGrY6iMRYniAr2zb2JdBjQNVzlXDg73tKc0HuX
37 rLmcK/W4mqGsrOM+Teo/EfPUGeVGrm7xe4bT1wxP4/7/vqRZKOZJuH7zsyAzbFGX
38 3V4PWArdFxXmTTG8S3++T4BQQcSQ883zbDpLLNoQo7Y860VIORTSWfZIJuyCaLqY
39 PBsbf1pvCcBB/fw+68SK5cBnDPPhTD6Qpllq4x+2L58FS3GCY8GfHG9JQo7jBd1q
40 qlcKx2L8aD+/zmHD7RgzIEUYLFPdwXCyM55sRyQcclrxPO8SNxmDMu2LFB0UhEbh
41 FFBrSMlzmXt9l5WrbIUrzmALLgj0YdhYbbPNdrFXoyb2gfgqeQtNHHu8RyljPen/
42 /qgNo/sOuioLkrzAFNM+
43 =bYty
44 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-dev] Gentoo's plan to remove .la files: eutils function Christopher Schwan <cschwan@××××××××××××××××××.de>