bin/rq in rq-3.5.0 vs bin/rq in rq-3.5.1
- old
+ new
@@ -304,10 +304,11 @@
if(@options.has_key?('dot_rq_dir'))
@dot_rq_dir = @options['dot_rq_dir']
end
if @dot_rq_dir.nil?
home = ENV['HOME'] || File::expand_path('~') rescue abort("ENV['HOME'] is unset!")
- @dot_rq_dir = File::join home, '.rq', @qpath
+ parts = [home, '.rq', @qpath].compact
+ @dot_rq_dir = File::join(*parts)
end
FileUtils.mkdir_p @dot_rq_dir
#--}}}
end
# select a MainHelper based on mode and delegate to it