diff options
author | Ralph Amissah <ralph@amissah.com> | 2011-09-05 11:16:58 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2011-09-05 11:16:58 -0400 |
commit | 9573bcd777e186e18840d9dcb22c11433cc8c964 (patch) | |
tree | 2a9704efaa989af4cadca9ea6249cd48b0ad6993 /lib/sisu/v3/db_create.rb | |
parent | debian/changelog (3.0.16-1) (diff) | |
parent | v3: sisupod_v3 make (build); place (rsync); process (generate sisu output from) (diff) |
Merge commit 'sisu-3.0.17' into debian/sid
Diffstat (limited to 'lib/sisu/v3/db_create.rb')
-rw-r--r-- | lib/sisu/v3/db_create.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v3/db_create.rb b/lib/sisu/v3/db_create.rb index 1804410a..5f8b2465 100644 --- a/lib/sisu/v3/db_create.rb +++ b/lib/sisu/v3/db_create.rb @@ -66,7 +66,7 @@ module SiSU_DB_create @opt,@conn,@file,@sql_type=opt,conn,file,sql_type @cX=SiSU_Screen::Ansi.new(@opt.cmd).cX @comment=(@sql_type=='pg') \ - ? (Comment.new(@conn,@sql_type)) \ + ? (Comment.new(@conn,@sql_type)) : nil @@dl ||=SiSU_Env::Info_env.new.digest.length end @@ -81,7 +81,7 @@ module SiSU_DB_create def create_db @env=SiSU_Env::Info_env.new(@opt.fns) tell=(@sql_type=='sqlite') \ - ? SiSU_Screen::Ansi.new(@opt.cmd,'invert','Create Sqlite db tables in:',%{"#{@env.path.output}/sisu_sqlite.db"}) \ + ? SiSU_Screen::Ansi.new(@opt.cmd,'invert','Create Sqlite db tables in:',%{"#{@env.path.output}/sisu_sqlite.db"}) : SiSU_Screen::Ansi.new(@opt.cmd,'invert','Create PG db tables in:',%{"#{Db[:name_prefix]}#{@env.path.stub_pwd}"}) tell.colorize if @opt.cmd =~/vVM/ SiSU_Env::System_call.new.create_pg_db(@env.path.stub_pwd) if @sql_type=='pg' #watch use of path.stub_pwd instead of stub |