diff options
author | Ralph Amissah <ralph@amissah.com> | 2011-03-01 20:46:02 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2011-03-01 20:46:02 -0500 |
commit | 5abc572129ac49178aa77ea59cb8e5d611e6374f (patch) | |
tree | 9c3402a3d8fa17d1a3c7a4c8bcc81230d12cc2be /lib/sisu/v3/db_select.rb | |
parent | v3: space between each and opening curly brace e.g. "x.each {|y| p y}" (diff) |
v3: sysenv, separate out processing_path method plus consequences
Diffstat (limited to 'lib/sisu/v3/db_select.rb')
-rw-r--r-- | lib/sisu/v3/db_select.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v3/db_select.rb b/lib/sisu/v3/db_select.rb index cd0f38e7..9bf8acbc 100644 --- a/lib/sisu/v3/db_select.rb +++ b/lib/sisu/v3/db_select.rb @@ -91,10 +91,10 @@ module SiSU_DB_select file=if @opt.inspect =~/M/ x=if @opt.fns and not @opt.fns.empty? @env=SiSU_Env::Info_env.new(@opt.fns) if @opt.fns - puts "\n#{@env.path.sqlite}/#{@opt.fns}.sql" if @sql_type =~/sqlite/ and @opt.cmd =~/M/ + puts "\n#{@env.processing_path.sqlite}/#{@opt.fns}.sql" if @sql_type =~/sqlite/ and @opt.cmd =~/M/ @db=SiSU_Env::Info_db.new - @job="sqlite3 #{@db.sqlite.db} < #{@env.path.sqlite}/#{@opt.fns}.sql" - File.new("#{@env.path.sqlite}/#{@opt.fns}.sql",'w+') + @job="sqlite3 #{@db.sqlite.db} < #{@env.processing_path.sqlite}/#{@opt.fns}.sql" + File.new("#{@env.processing_path.sqlite}/#{@opt.fns}.sql",'w+') elsif @opt.fns and @opt.fns.inspect =~/create/; nil #sort variations later else nil end |