#14166: use "cp -pR", not "cp -pr"
--------------------------+-------------------------------------------------
Reporter: jhpalmieri | Owner: leif
Type: defect | Status: new
Priority: blocker | Milestone: sage-5.8
Component: scripts | Keywords: cp symlink
Work issues: | Report Upstream: N/A
Reviewers: | Authors: John Palmieri
Merged in: | Dependencies:
Stopgaps: |
--------------------------+-------------------------------------------------
According to [http://www.gnu.org/savannah-
checkouts/gnu/autoconf/manual/autoconf-2.68/html_node/Limitations-of-
Usual-Tools.html#Limitations-of-Usual-Tools], we should avoid the "-r"
flag for `cp`. On linux, using "-r" or "-R" doesn't make a difference, but
on OS X, the man page for cp says that with the -r flag, "it does not
correctly copy special files, symbolic links, or fifo's."
As a result, after building from scratch using #6495 on OS X, the various
files `doc/en/reference/MODULE/conf.py`, which are all supposed to by
symlinks to `doc/en/reference/conf_sub.py`, are copies of that file
instead, and the hg repo is not clean. So I'm marking this as a blocker. I
think that to fix the real problem, only the Sage library needs to be
patched, but we might as well apply the scripts patch as well. I think
that the only other instance of "cp -pr" in any spkg is in the R spkg, and
I don't think those instances are worth fixing right now.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14166>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.