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

SF.net SVN: ledger-smb: [661] branches/1.2/LedgerSMB/Form.pm



Revision: 661
          http://svn.sourceforge.net/ledger-smb/?rev=661&view=rev
Author:   tetragon
Date:     2006-11-18 18:59:27 -0800 (Sat, 18 Nov 2006)

Log Message:
-----------
Fix cleanup of LaTeX temporary files when userspath absolute

Modified Paths:
--------------
    branches/1.2/LedgerSMB/Form.pm

Modified: branches/1.2/LedgerSMB/Form.pm
===================================================================
--- branches/1.2/LedgerSMB/Form.pm	2006-11-18 17:41:33 UTC (rev 660)
+++ branches/1.2/LedgerSMB/Form.pm	2006-11-19 02:59:27 UTC (rev 661)
@@ -821,6 +821,8 @@
 		use Cwd;
 		$self->{cwd} = cwd();
 		$self->{tmpdir} = "$self->{cwd}/${LedgerSMB::Sysconfig::userspath}";
+		$self->{tmpdir} = "${LedgerSMB::Sysconfig::userspath}" if
+			${LedgerSMB::Sysconfig::userspath} =~ /^\//;
 
 		unless (chdir("${LedgerSMB::Sysconfig::userspath}")) {
 			$err = $!;


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