aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v6/db_create.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-07-15 18:33:07 -0400
committerRalph Amissah <ralph@amissah.com>2014-07-15 18:33:07 -0400
commit639c57ebfba5b860d788218f19622fb52533806f (patch)
tree8d6c4cfa198d4646174b5451f13f81f064d9a059 /lib/sisu/v6/db_create.rb
parentv5 v6: bin/sisu, hub, options, pass message: sisu_called_from_directory (diff)
v5 v6: sysenv, general, base_markup_dir_stub (replace pwd_stub)
Diffstat (limited to 'lib/sisu/v6/db_create.rb')
-rw-r--r--lib/sisu/v6/db_create.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v6/db_create.rb b/lib/sisu/v6/db_create.rb
index 01fc1935..a2e3e8c4 100644
--- a/lib/sisu/v6/db_create.rb
+++ b/lib/sisu/v6/db_create.rb
@@ -86,13 +86,13 @@ module SiSU_DbCreate
@env=SiSU_Env::InfoEnv.new(@opt.fns)
tell=(@sql_type==:sqlite) \
? SiSU_Screen::Ansi.new(@opt.act[:color_state][:set],'Create SQLite db tables in:',%{"#{@file}"})
- : SiSU_Screen::Ansi.new(@opt.act[:color_state][:set],'Create pgSQL db tables in:',%{"#{Db[:name_prefix]}#{@env.path.stub_pwd}"})
+ : SiSU_Screen::Ansi.new(@opt.act[:color_state][:set],'Create pgSQL db tables in:',%{"#{Db[:name_prefix]}#{@env.path.base_markup_dir_stub}"})
if (@opt.act[:verbose][:set]==:on \
|| @opt.act[:verbose_plus][:set]==:on \
|| @opt.act[:maintenance][:set]==:on)
tell.dark_grey_title_hi
end
- SiSU_Env::SystemCall.new.create_pg_db(@env.path.stub_pwd) if @sql_type==:pg #watch use of path.stub_pwd instead of stub
+ SiSU_Env::SystemCall.new.create_pg_db(@env.path.base_markup_dir_stub) if @sql_type==:pg #watch use of path.base_markup_dir_stub instead of stub
end
def output_dir?
dir=SiSU_Env::InfoEnv.new('')