]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #22326 - semarie:compat-cp, r=alexcrichton
authorManish Goregaokar <manishsmail@gmail.com>
Mon, 16 Feb 2015 06:00:03 +0000 (11:30 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Tue, 17 Feb 2015 00:53:40 +0000 (06:23 +0530)
commite337a5728a3bedbae542c0c71e1c4185c75be21b
tree76c63db74dcaaaed984585cc0728641ff9b72421
parent8a6b72400929e02b7a92de481e76f767e484d304
parent1c935f197a38fdf03b2535e1bdf9886e3d52933c
Rollup merge of #22326 - semarie:compat-cp, r=alexcrichton

 `cp -a` is a GNU extension. Use an alternate combinaison of POSIX options
(`-PRp`) that do nearly the same.

The difference is `-a` will preserve context, links and xattr attributes,
whereas `-p` not. But as we use it only for copy a file, there is no
difference in the current context.
mk/docs.mk