diff options
author | Ralph Amissah <ralph@amissah.com> | 2011-05-15 23:10:49 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2011-05-15 23:27:18 -0400 |
commit | b1b2fe8cc3120d2a53e4c211748107ced1b1b40b (patch) | |
tree | f5fd4299f01a51aaa484da19879c022008f41ddf /lib/sisu/v3/plaintext.rb | |
parent | v3: sysenv, options, output_dir_structure.by? (language|filetype|filename) (diff) |
v3: sysenv, output_path & place_file, modified, (affects many libraries)
* paths for dir, url, relative and rcp that vary with output dir structure
* cope with alterative dir structures
* manifest url paths, fix
* dal_expand_insertions, fix
* rsync, review
* scp disabled
Diffstat (limited to 'lib/sisu/v3/plaintext.rb')
-rw-r--r-- | lib/sisu/v3/plaintext.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v3/plaintext.rb b/lib/sisu/v3/plaintext.rb index 74de7a0e..09ecf56c 100644 --- a/lib/sisu/v3/plaintext.rb +++ b/lib/sisu/v3/plaintext.rb @@ -84,12 +84,12 @@ module SiSU_Plaintext unless @opt.cmd =~/q/ path=env.path.output_tell tool=(@opt.cmd =~/[MVv]/) \ - ? "#{env.program.text_editor} #{md.file.output_path.txt}/#{md.file.base_filename.txt}" \ + ? "#{env.program.text_editor} #{md.file.output_path.txt.dir}/#{md.file.base_filename.txt}" \ : @opt.fns @opt.cmd=~/[MVvz]/ \ ? SiSU_Screen::Ansi.new(@opt.cmd,'Plaintext',tool).green_hi_blue \ : SiSU_Screen::Ansi.new(@opt.cmd,'Plaintext',tool).green_title_hi - SiSU_Screen::Ansi.new(@opt.cmd,@opt.fns,"#{md.file.output_path.txt}/#{md.file.base_filename.txt}").flow if @opt.cmd =~/[MV]/ + SiSU_Screen::Ansi.new(@opt.cmd,@opt.fns,"#{md.file.output_path.txt.dir}/#{md.file.base_filename.txt}").flow if @opt.cmd =~/[MV]/ end dal_array=SiSU_DAL::Source.new(@opt).get # dal file drawn here wrap_width=if defined? md.make.plaintext_wrap \ |