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

SF.net SVN: ledger-smb:[3839] trunk



Revision: 3839
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3839&view=rev
Author:   einhverfr
Date:     2011-10-12 00:24:08 +0000 (Wed, 12 Oct 2011)
Log Message:
-----------
Removing defunct scripts directory

Modified Paths:
--------------
    trunk/lsmb-request.pl

Removed Paths:
-------------
    trunk/scripts/

Modified: trunk/lsmb-request.pl
===================================================================
--- trunk/lsmb-request.pl	2011-10-12 00:11:39 UTC (rev 3838)
+++ trunk/lsmb-request.pl	2011-10-12 00:24:08 UTC (rev 3839)
@@ -83,9 +83,11 @@
 
   try {        
     $request->{script} = $script;
-    my $scriptmod = "LedgerSMB::Scripts::$script";
+    my $scriptmod = "$script";
     $scriptmod =~ s/\.pl$//;
-    eval { require $scriptmod; } 
+    my $eval_string = "require LedgerSMB::Scripts::$scriptmod;";
+    #eval { require LedgerSMB::Scripts::$scriptmod; } 
+    eval $eval_string
       || $request->error($locale->text('Unable to open script') . 
                           ": $scriptmod : $!"
           );

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