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

SF.net SVN: ledger-smb: [1857] branches/1.2/LedgerSMB



Revision: 1857
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1857&view=rev
Author:   einhverfr
Date:     2007-11-07 12:22:55 -0800 (Wed, 07 Nov 2007)

Log Message:
-----------
Replacing backticks with system() calls since VanillaPerl seems to have issues with them

Modified Paths:
--------------
    branches/1.2/LedgerSMB/IS.pm
    branches/1.2/LedgerSMB/User.pm

Modified: branches/1.2/LedgerSMB/IS.pm
===================================================================
--- branches/1.2/LedgerSMB/IS.pm	2007-11-06 23:45:06 UTC (rev 1856)
+++ branches/1.2/LedgerSMB/IS.pm	2007-11-07 20:22:55 UTC (rev 1857)
@@ -20,7 +20,7 @@
 #     Web: http://www.sql-ledger.org
 #
 #  Contributors: Jim Rawlings <..hidden..>
-#`
+#
 #======================================================================
 #
 # This file has undergone whitespace cleanup.

Modified: branches/1.2/LedgerSMB/User.pm
===================================================================
--- branches/1.2/LedgerSMB/User.pm	2007-11-06 23:45:06 UTC (rev 1856)
+++ branches/1.2/LedgerSMB/User.pm	2007-11-07 20:22:55 UTC (rev 1857)
@@ -460,7 +460,7 @@
     $ENV{PGHOST}     = $form->{dbhost};
     $ENV{PGPORT}     = $form->{dbport};
 
-    $results = `psql -f $filename 2>&1`;
+    $results = system('psql -f $filename 2>&1');
     if ($?) {
         $form->error($!);
     }


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