Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 5502] url_rsync has problems if using a path in the module

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT metalab.unc.edu
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 5502] url_rsync has problems if using a path in the module
  • Date: Fri, 9 Jan 2004 15:18:47 -0500

http://bugs.sourcemage.org/show_bug.cgi?id=5502





------- Additional Comments From eric AT sandall.us 2004-01-09 15:18 -------
Created an attachment (id=2174)
--> (http://bugs.sourcemage.org/attachment.cgi?id=2174&action=view)
url_rsync.patch

Here's a patch that will change $DEST to "." if there is a "/" in the module
name, that way it will be downloaded to /var/lib/sorcery/codex/<grimoire>
rather than /var/lib/sorcery/codex/<module>/<grimoire>.

E.g. (before patch)
# scribe add z-rejected from rsync://sandall.us::sourcemage/z-rejected
Would have put z-rejected grimoire into
/var/lib/sorcery/codex/z-rejected/z-rejected, but with this patch, it puts it
into /var/lib/sorcery/codex/z-rejected.

If there is no '/' in the module name (such as rsync://sandall.us::sandalle or
rsync://www.sourcemage.org::z-rejected) then it is left alone.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page