git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 2/6] cogito: remove use of cp -a, a non-portable GNU extension

From
Bryan Larsen <bryanlarsen@yahoo.com>
Date
Jul 18, 2005, 02:50 UTC
Message-ID
<20050718025046.11198.10078.sendpatchset@bryan-larsens-ibook-g4.local>
In-Reply-To
<20050718025024.11198.10556.sendpatchset@bryan-larsens-ibook-g4.local>
Remove usage of cp -a, a non-portable gnu extension.
Signed-off-by: Bryan Larsen <bryan.larsen@gmail.com>
---
 cg-pull |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cg-pull b/cg-pull
--- a/cg-pull
+++ b/cg-pull
@@ -217,7 +217,7 @@ fetch_local () {
 	[ "$1" = "-i" ] && shift
 	[ "$1" = "-s" ] && shift
 
-	cp_flags_l="-va"
+	cp_flags_l="-vdpR"
 	if [ "$1" = "-u" ]; then
 		cp_flags_l="$cp_flags_l -u$can_hardlink"
 		suggest_hardlink=
Previous: Bryan LarsenNext: Bryan Larsen
Message 3 of 8 in “cogito: compatibility with OS X”
  1. 0/6 cogito: compatibility with OS XBryan Larsen, Jul 18, 2005
  2. 1/6 cogito: remove use of xargs -r, a non-portable GNU extensionBryan Larsen, Jul 18, 2005
  3. 2/6 cogito: remove use of cp -a, a non-portable GNU extensionBryan Larsen, Jul 18, 2005
  4. 3/6 cogito: try harder to find gnu statBryan Larsen, Jul 18, 2005
  5. 4/6 cogito: try harder to find gnu dateBryan Larsen, Jul 18, 2005
  6. 5/6 cogito: remove findutils dependency from PortfileBryan Larsen, Jul 18, 2005
  7. 6/6 cogito: update documentationBryan Larsen, Jul 18, 2005
  8. Petr BaudisJul 20, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.