aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/harvest.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v3/harvest.rb')
-rw-r--r--lib/sisu/v3/harvest.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/sisu/v3/harvest.rb b/lib/sisu/v3/harvest.rb
index 989957bf..117028e2 100644
--- a/lib/sisu/v3/harvest.rb
+++ b/lib/sisu/v3/harvest.rb
@@ -65,7 +65,7 @@ def help
WOK
end
def css(opt)
- require "#{SiSU_lib}/css" # css.rb
+ require_relative 'css' # css.rb
css=SiSU_Style::CSS.new
fn_css=SiSU_Env::CSS_default.new
style=File.new("#{@env.path.pwd}/#{fn_css.harvest}",'w')
@@ -79,17 +79,17 @@ def cases(opt)
HARVEST_authors::Songsheet.new(opt).songsheet
HARVEST_topics::Songsheet.new(opt).songsheet
if opt.cmd.inspect =~/R/
- require "#{SiSU_lib}/remote" # remote.rb
+ require_relative 'remote' # remote.rb
SiSU_Remote::Put.new(opt).rsync_harvest
end
else
help
end
end
-require "#{SiSU_lib}/options" # options.rb
-require "#{SiSU_lib}/harvest_topics" # harvest_topics.rb
-require "#{SiSU_lib}/harvest_authors" # harvest_authors.rb
-require "#{SiSU_lib}/sysenv" # sysenv.rb
+require_relative 'options' # options.rb
+require_relative 'harvest_topics' # harvest_topics.rb
+require_relative 'harvest_authors' # harvest_authors.rb
+require_relative 'sysenv' # sysenv.rb
include SiSU_Env
@env=SiSU_Env::Info_env.new
@@the_idx_topics,@@the_idx_authors={},{}