Skip to content

Commit

Permalink
distutils-r1.eclass: _copy_egg_info(), 'cp -R' for BSD compat, #568692
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mgorny committed Dec 19, 2015
1 parent 7adffa3 commit ce6e4b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eclass/distutils-r1.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce6e4b4

Please sign in to comment.