summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2016-01-04 02:25:39 +0100
committerAlex Legler <alex@a3li.li>2016-01-04 02:25:39 +0100
commit9e350e22312f065f45f38eeb51fbe653f285d024 (patch)
tree66a32e32dd14bfd004ba7294c326107d5206f9dc
parentAdd initial set of tools (diff)
downloadmirror-toolkit-9e350e22312f065f45f38eeb51fbe653f285d024.tar.gz
mirror-toolkit-9e350e22312f065f45f38eeb51fbe653f285d024.tar.bz2
mirror-toolkit-9e350e22312f065f45f38eeb51fbe653f285d024.zip
Also support relative HTTP/FTP distfile directories
-rw-r--r--lib/mirror_toolkit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mirror_toolkit.rb b/lib/mirror_toolkit.rb
index cc53090..fd854e0 100644
--- a/lib/mirror_toolkit.rb
+++ b/lib/mirror_toolkit.rb
@@ -58,7 +58,7 @@ module MirrorToolkit
mirror.path += MirrorToolkit::DISTFILES_TIMESTAMP_FILE
end
when 'http', 'https', 'ftp'
- mirror.path = MirrorToolkit::DISTFILES_TIMESTAMP_FILE
+ mirror.path += MirrorToolkit::DISTFILES_TIMESTAMP_FILE
end
mirror