[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[4131] branches/1.3/LedgerSMB/Database.pm



Revision: 4131
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4131&view=rev
Author:   davidbandel
Date:     2011-12-02 21:15:19 +0000 (Fri, 02 Dec 2011)
Log Message:
-----------
Correct "no such file or directory found" error.

Modified Paths:
--------------
    branches/1.3/LedgerSMB/Database.pm

Modified: branches/1.3/LedgerSMB/Database.pm
===================================================================
--- branches/1.3/LedgerSMB/Database.pm	2011-12-02 15:00:23 UTC (rev 4130)
+++ branches/1.3/LedgerSMB/Database.pm	2011-12-02 21:15:19 UTC (rev 4131)
@@ -36,6 +36,7 @@
 };
 
 my $temp = $LedgerSMB::Sysconfig::tempdir;
+ (-d "$temp") ||  system("mkdir -p $temp");
 
 my $logger = Log::Log4perl->get_logger('LedgerSMB::Database');
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.