diff options
| author | Jack Nagel | 2011-08-26 10:41:14 -0500 |
|---|---|---|
| committer | Jack Nagel | 2011-08-26 10:42:16 -0500 |
| commit | ddb4d9bd16437a89e726b04fde049c69efcd3f92 (patch) | |
| tree | f3b0b5184cd3a7b78df3f7cd20e4a32be8fc0098 /Library | |
| parent | b6aa1d2a375129b3852b1bcf4b36a71cb2d6d8d8 (diff) | |
| download | homebrew-ddb4d9bd16437a89e726b04fde049c69efcd3f92.tar.bz2 | |
duplicity 0.6.15
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/duplicity.rb | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/Library/Formula/duplicity.rb b/Library/Formula/duplicity.rb index 67ef8e5d3..d7c897745 100644 --- a/Library/Formula/duplicity.rb +++ b/Library/Formula/duplicity.rb @@ -1,9 +1,9 @@ require 'formula' class Duplicity < Formula - url 'http://launchpad.net/duplicity/0.6-series/0.6.14/+download/duplicity-0.6.14.tar.gz' + url 'http://launchpad.net/duplicity/0.6-series/0.6.15/+download/duplicity-0.6.15.tar.gz' homepage 'http://www.nongnu.org/duplicity/' - md5 '09747eb1430a3f16888a661e5acbf28d' + md5 '88f3c990f41fde86cd7d5af5a1bc7b81' depends_on 'librsync' depends_on 'gnupg' @@ -24,26 +24,4 @@ class Duplicity < Formula ln_s "#{libexec}/duplicity.py", "#{bin}/duplicity" ln_s "#{libexec}/rdiffdir", "#{bin}/rdiffdir" end - - def patches - # back-ported fix to ssh-backend. fixed in upstream for 0.6.15. - # for issue-details see https://bugs.launchpad.net/duplicity/+bug/823556 - DATA - end end - - -__END__ ---- 0.6.14/src/backends/sshbackend.py 2011-06-13 14:24:27 +0000 -+++ 0.6.15-pre/src/backends/sshbackend.py 2011-08-17 14:21:15 +0000 -@@ -278,6 +278,10 @@ - be distinguished from the file boundaries. - """ - dirs = self.remote_dir.split(os.sep) -+ if len(dirs) > 0: -+ if not dirs[0] : -+ dirs = dirs[1:] -+ dirs[0]= '/' + dirs[0] - mkdir_commands = []; - for d in dirs: - mkdir_commands += ["mkdir \"%s\"" % (d)] + ["cd \"%s\"" % (d)] |
