1 |
Dnia 2015-06-12, o godz. 01:44:17 |
2 |
"Davide Pesavento (pesa)" <pesa@g.o> napisał(a): |
3 |
|
4 |
> pesa 15/06/12 01:44:17 |
5 |
> |
6 |
> Modified: ChangeLog qt4-build-multilib.eclass |
7 |
> Log: |
8 |
> Don't die when trying to rmdir non-existent directory (bug 551676). |
9 |
> |
10 |
> Revision Changes Path |
11 |
> 1.1653 eclass/ChangeLog |
12 |
> |
13 |
> file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1653&view=markup |
14 |
> plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1653&content-type=text/plain |
15 |
> diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1652&r2=1.1653 |
16 |
> |
17 |
> Index: ChangeLog |
18 |
> =================================================================== |
19 |
> RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v |
20 |
> retrieving revision 1.1652 |
21 |
> retrieving revision 1.1653 |
22 |
> diff -u -r1.1652 -r1.1653 |
23 |
> --- ChangeLog 11 Jun 2015 18:33:54 -0000 1.1652 |
24 |
> +++ ChangeLog 12 Jun 2015 01:44:17 -0000 1.1653 |
25 |
> @@ -1,6 +1,9 @@ |
26 |
> # ChangeLog for eclass directory |
27 |
> # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
> -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1652 2015/06/11 18:33:54 pesa Exp $ |
29 |
> +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1653 2015/06/12 01:44:17 pesa Exp $ |
30 |
> + |
31 |
> + 12 Jun 2015; Davide Pesavento <pesa@g.o> qt4-build-multilib.eclass: |
32 |
> + Don't die when trying to rmdir non-existent directory (bug 551676). |
33 |
> |
34 |
> 11 Jun 2015; Davide Pesavento <pesa@g.o> qt4-build-multilib.eclass: |
35 |
> Use usex(). |
36 |
> |
37 |
> |
38 |
> |
39 |
> 1.21 eclass/qt4-build-multilib.eclass |
40 |
> |
41 |
> file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-build-multilib.eclass?rev=1.21&view=markup |
42 |
> plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-build-multilib.eclass?rev=1.21&content-type=text/plain |
43 |
> diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-build-multilib.eclass?r1=1.20&r2=1.21 |
44 |
> |
45 |
> Index: qt4-build-multilib.eclass |
46 |
> =================================================================== |
47 |
> RCS file: /var/cvsroot/gentoo-x86/eclass/qt4-build-multilib.eclass,v |
48 |
> retrieving revision 1.20 |
49 |
> retrieving revision 1.21 |
50 |
> diff -u -r1.20 -r1.21 |
51 |
> --- qt4-build-multilib.eclass 11 Jun 2015 18:33:54 -0000 1.20 |
52 |
> +++ qt4-build-multilib.eclass 12 Jun 2015 01:44:17 -0000 1.21 |
53 |
> @@ -1,6 +1,6 @@ |
54 |
> # Copyright 1999-2015 Gentoo Foundation |
55 |
> # Distributed under the terms of the GNU General Public License v2 |
56 |
> -# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build-multilib.eclass,v 1.20 2015/06/11 18:33:54 pesa Exp $ |
57 |
> +# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build-multilib.eclass,v 1.21 2015/06/12 01:44:17 pesa Exp $ |
58 |
> |
59 |
> # @ECLASS: qt4-build-multilib.eclass |
60 |
> # @MAINTAINER: |
61 |
> @@ -470,7 +470,7 @@ |
62 |
> mv "${pcfile}" "${ED}"/usr/$(get_libdir)/pkgconfig || die |
63 |
> done |
64 |
> eshopts_pop |
65 |
> - rmdir "${D}/${QT4_LIBDIR}"/pkgconfig || die |
66 |
> + rmdir "${D}/${QT4_LIBDIR}"/pkgconfig |
67 |
> |
68 |
> qt4_install_module_qconfigs |
69 |
> qt4_symlink_framework_headers |
70 |
|
71 |
And now you're doing a QA violation. Just don't call rmdir if something |
72 |
doesn't exist instead of ignoring the result and letting it spit |
73 |
random errors, all into 'did not exist' basket. |
74 |
|
75 |
-- |
76 |
Best regards, |
77 |
Michał Górny |