diff options
author | Ralph Amissah <ralph@amissah.com> | 2009-08-29 23:55:44 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2009-08-29 23:56:38 -0400 |
commit | 1c07669d3798c1313612360719b8ca1cb559be62 (patch) | |
tree | 68adddab2f992793f2e8999fc4b18d6f7ec84f7b /lib/sisu/v1/sysenv.rb | |
parent | sha256 for 0.71.3 (diff) |
sql, fix, different solutions for postgresql and sqlite to populate database using ruby-dbisisu_0.71.4
Diffstat (limited to 'lib/sisu/v1/sysenv.rb')
-rw-r--r-- | lib/sisu/v1/sysenv.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/sisu/v1/sysenv.rb b/lib/sisu/v1/sysenv.rb index 8d4636c1..8b15f957 100644 --- a/lib/sisu/v1/sysenv.rb +++ b/lib/sisu/v1/sysenv.rb @@ -1457,6 +1457,11 @@ WOK end processing end + def sql + pth="#{processing}/sql" + mkdir_p(pth) unless FileTest.directory?(pth) + pth + end def composite_file pth=path.dal #"#{processing}/composite" mkdir_p(pth) unless FileTest.directory?(pth) |