summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-12-19 15:11:46 +0100
committerMichał Górny <mgorny@gentoo.org>2015-12-19 15:12:51 +0100
commitce6e4b4ae3fc57c52d0b228dd1fd0d52eeec4427 (patch)
tree419b64f2111e488dab72a671f34d607563e114c1 /eclass/distutils-r1.eclass
parentmultibuild.eclass: _copy_sources(), use 'cp -R' for BSD compat, #568692 (diff)
downloadgentoo-ce6e4b4ae3fc57c52d0b228dd1fd0d52eeec4427.tar.gz
gentoo-ce6e4b4ae3fc57c52d0b228dd1fd0d52eeec4427.tar.bz2
gentoo-ce6e4b4ae3fc57c52d0b228dd1fd0d52eeec4427.zip
distutils-r1.eclass: _copy_egg_info(), 'cp -R' for BSD compat, #568692
Use 'cp -R' for distutils-r1_copy_egg_info() as the '-r' option triggers triggers undesired '-L' behavior wrt symbolic links. Fixes: https://bugs.gentoo.org/show_bug.cgi?id=568692
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r--eclass/distutils-r1.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index be94c46cb3e0..7965e9106a49 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -419,7 +419,7 @@ _distutils-r1_create_setup_cfg() {
_distutils-r1_copy_egg_info() {
mkdir -p "${BUILD_DIR}" || die
# stupid freebsd can't do 'cp -t ${BUILD_DIR} {} +'
- find -name '*.egg-info' -type d -exec cp -pr {} "${BUILD_DIR}"/ ';' || die
+ find -name '*.egg-info' -type d -exec cp -R -p {} "${BUILD_DIR}"/ ';' || die
}
# @FUNCTION: distutils-r1_python_compile