summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 8698538..87278ed 100644
--- a/Rakefile
+++ b/Rakefile
@@ -176,7 +176,11 @@ def uploader_for ftp
proc do |l, *r|
r = r.first || l
raise 'File %s not found!' % l unless File.exist? l
- g 'Uploading %s to %s...' % [l, r]
+ if l == r
+ g 'Uploading %s...' % [l]
+ else
+ g 'Uploading %s to %s...' % [l, r]
+ end
ftp.putbinaryfile l, r
gd
end