summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRyan Davis <ryand@zenspider.com>2017-07-07 13:44:57 -0800
committerRyan Davis <ryand@zenspider.com>2017-07-07 13:44:57 -0800
commit53bc7264735fb4df2a4dc021b75ba1d409b407da (patch)
tree2ea23e8b974e9cc81c87e8a471ba27a76abc174a /lib
parentcd35d87a0670c11a4767fae7cba8a48607b6939d (diff)
downloadhoe-53bc7264735fb4df2a4dc021b75ba1d409b407da.tar.gz
- Fixed bug making system calls w/ empty string in array? No clue.
[git-p4: depot-paths = "//src/hoe/dev/": change = 11370]
Diffstat (limited to 'lib')
-rw-r--r--lib/hoe/publish.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/hoe/publish.rb b/lib/hoe/publish.rb
index cc11603..c52f8f3 100644
--- a/lib/hoe/publish.rb
+++ b/lib/hoe/publish.rb
@@ -214,6 +214,7 @@ module Hoe::Publish
extra = "-S"
end
+ ( # I don't understand this bug... but removing empties definitely fixes it.
%W[#{Gem.ruby} #{extra}
#{rdoc}
--title #{title}
@@ -223,6 +224,7 @@ module Hoe::Publish
extra_args +
spec.require_paths +
spec.extra_rdoc_files
+ ).reject(&:empty?)
end
def post_blog_zenweb site # :nodoc: