[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[4129] branches/1.3/LedgerSMB/Database.pm
- Subject: SF.net SVN: ledger-smb:[4129] branches/1.3/LedgerSMB/Database.pm
- From: ..hidden..
- Date: Fri, 02 Dec 2011 14:28:08 +0000
Revision: 4129
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4129&view=rev
Author: tshvr
Date: 2011-12-02 14:28:08 +0000 (Fri, 02 Dec 2011)
Log Message:
-----------
create db now ok after broken post-1.3.7
Modified Paths:
--------------
branches/1.3/LedgerSMB/Database.pm
Modified: branches/1.3/LedgerSMB/Database.pm
===================================================================
--- branches/1.3/LedgerSMB/Database.pm 2011-12-02 12:50:42 UTC (rev 4128)
+++ branches/1.3/LedgerSMB/Database.pm 2011-12-02 14:28:08 UTC (rev 4129)
@@ -374,13 +374,13 @@
$rc2=system("psql -f $ENV{PG_CONTRIB_DIR}/$contrib.sql >> $temp/dblog_stdout 2>>$temp/dblog_stderr");
$rc ||= $rc2
}
- my $rc2 = system("psql -f $self->{source_dir}sql/Pg-database.sql >> $temp/dblog_stdout 2>>$temp/dblog_stderr");
}
else
{
$logger->info("Skipping contrib_scripts @contrib_scripts");
}
- $rc ||= $rc2;
+ $rc2 = system("psql -f $self->{source_dir}sql/Pg-database.sql >> $temp/dblog_stdout 2>>$temp/dblog_stderr");
+ $rc ||= $rc2;
# TODO Add logging of errors/notices
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.