Skip to content

Commit

Permalink
Add support for suEXEC setups as reported by mst on #ledgersmb.
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/trunk@3304 4979c152-3d1c-0410-bac9-87ea11338e46
  • Loading branch information
ehuelsmann committed Jun 20, 2011
1 parent f60434e commit 57945a6
Show file tree
Hide file tree
Showing 27 changed files with 136 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Reconciliation.pl
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}

require "lsmb-request.pl";
5 changes: 5 additions & 0 deletions account.pl
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}

require "lsmb-request.pl";
#!/usr/bin/perl

Expand Down
5 changes: 5 additions & 0 deletions am.pl
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}
require "old-handler.pl";
5 changes: 5 additions & 0 deletions ap.pl
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}
require "old-handler.pl";
5 changes: 5 additions & 0 deletions ar.pl
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}
require "old-handler.pl";
5 changes: 5 additions & 0 deletions bp.pl
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}
require "old-handler.pl";
5 changes: 5 additions & 0 deletions ca.pl
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}
require "old-handler.pl";
5 changes: 5 additions & 0 deletions cp.pl
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}
require "old-handler.pl";
5 changes: 5 additions & 0 deletions employee.pl
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}
require "lsmb-request.pl";
5 changes: 5 additions & 0 deletions gl.pl
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}
require "old-handler.pl";
5 changes: 5 additions & 0 deletions ic.pl
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}
require "old-handler.pl";
5 changes: 5 additions & 0 deletions inventory.pl
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}
require "lsmb-request.pl";
5 changes: 5 additions & 0 deletions ir.pl
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}
require "old-handler.pl";
5 changes: 5 additions & 0 deletions is.pl
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}
require "old-handler.pl";
5 changes: 5 additions & 0 deletions jc.pl
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}
require "old-handler.pl";
5 changes: 5 additions & 0 deletions job.pl
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}

require "lsmb-request.pl";
5 changes: 5 additions & 0 deletions journal.pl
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}

require "lsmb-request.pl";
#!/usr/bin/perl

Expand Down
5 changes: 5 additions & 0 deletions location.pl
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}
require "old-handler.pl";
5 changes: 5 additions & 0 deletions menu.pl
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}

require "lsmb-request.pl";
5 changes: 5 additions & 0 deletions oe.pl
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}
require "old-handler.pl";
7 changes: 6 additions & 1 deletion payment.pl
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/usr/bin/perl
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}

require "lsmb-request.pl";
5 changes: 5 additions & 0 deletions pe.pl
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}
require "old-handler.pl";
5 changes: 5 additions & 0 deletions ps.pl
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}
require "old-handler.pl";
5 changes: 5 additions & 0 deletions rp.pl
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}
require "old-handler.pl";
5 changes: 5 additions & 0 deletions taxform.pl
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}

require "lsmb-request.pl";
5 changes: 5 additions & 0 deletions user.pl
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}

require "lsmb-request.pl";
5 changes: 5 additions & 0 deletions vendor.pl
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/usr/bin/perl

use FindBin;
BEGIN {
lib->import($FindBin::Bin) unless $ENV{mod_perl}
}
require "lsmb-request.pl";

0 comments on commit 57945a6

Please sign in to comment.