Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sat, 19 Dec 2015 14:13:05
Message-Id: 1450534371.ce6e4b4ae3fc57c52d0b228dd1fd0d52eeec4427.mgorny@gentoo
1 commit: ce6e4b4ae3fc57c52d0b228dd1fd0d52eeec4427
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 19 14:11:46 2015 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 19 14:12:51 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce6e4b4a
7
8 distutils-r1.eclass: _copy_egg_info(), 'cp -R' for BSD compat, #568692
9
10 Use 'cp -R' for distutils-r1_copy_egg_info() as the '-r' option triggers
11 triggers undesired '-L' behavior wrt symbolic links.
12
13 Fixes: https://bugs.gentoo.org/show_bug.cgi?id=568692
14
15 eclass/distutils-r1.eclass | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
19 index be94c46..7965e91 100644
20 --- a/eclass/distutils-r1.eclass
21 +++ b/eclass/distutils-r1.eclass
22 @@ -419,7 +419,7 @@ _distutils-r1_create_setup_cfg() {
23 _distutils-r1_copy_egg_info() {
24 mkdir -p "${BUILD_DIR}" || die
25 # stupid freebsd can't do 'cp -t ${BUILD_DIR} {} +'
26 - find -name '*.egg-info' -type d -exec cp -pr {} "${BUILD_DIR}"/ ';' || die
27 + find -name '*.egg-info' -type d -exec cp -R -p {} "${BUILD_DIR}"/ ';' || die
28 }
29
30 # @FUNCTION: distutils-r1_python_compile