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

[PATCH] fix cg-fetch so that it doesn't use -d (to work with POSIX cp)

From
Randal L. Schwartz <merlyn@stonehenge.com>
Date
Nov 21, 2005, 04:10 UTC
Message-ID
<863blq4p4x.fsf@blue.stonehenge.com>

I simply removed -d, since I don't know how necessary it is to make it work better, but it seems to work fine on OSX now.

remove -d flag from cp

--- commit 3e7bc5b605f58376688f1cf195f51965becd5c3f tree 1c53f8753ff9c31f0ff2692b64754ad48e45f143 parent 22ff47e9b3c5fc8aa2efbc5ac8690b06b868ef6f author Randal L. Schwartz <merlyn@localhost.(none)> Sun, 20 Nov 2005 20:01:38 -0800 committer Randal L. Schwartz <merlyn@localhost.(none)> Sun, 20 Nov 2005 20:01:38 -0800

 cg-fetch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cg-fetch b/cg-fetch
index 5a2039f..eb89ebe 100755
--- a/cg-fetch
+++ b/cg-fetch
@@ -158,7 +158,7 @@ get_local()
 		cp_flags_l="$cp_flags_l -L"
 		shift
 	else
-		cp_flags_l="$cp_flags_l -dpR"
+		cp_flags_l="$cp_flags_l -pR"
 	fi
 
 	[ "$1" = "-i" ] && shift
-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
Next: Andreas Ericsson
Message 1 of 2 in “fix cg-fetch so that it doesn't use -d (to work with POSIX cp)”
  1. fix cg-fetch so that it doesn't use -d (to work with POSIX cp)Randal L. Schwartz, Nov 21, 2005
  2. Andreas EricssonNov 21, 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.