[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [662] trunk/LedgerSMB/Form.pm
- Subject: SF.net SVN: ledger-smb: [662] trunk/LedgerSMB/Form.pm
- From: ..hidden..
- Date: Sat, 18 Nov 2006 18:59:54 -0800
Revision: 662
http://svn.sourceforge.net/ledger-smb/?rev=662&view=rev
Author: tetragon
Date: 2006-11-18 18:59:53 -0800 (Sat, 18 Nov 2006)
Log Message:
-----------
Fix cleanup of LaTeX temporary files when userspath absolute
Modified Paths:
--------------
trunk/LedgerSMB/Form.pm
Modified: trunk/LedgerSMB/Form.pm
===================================================================
--- trunk/LedgerSMB/Form.pm 2006-11-19 02:59:27 UTC (rev 661)
+++ trunk/LedgerSMB/Form.pm 2006-11-19 02:59:53 UTC (rev 662)
@@ -813,6 +813,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.