Changeset 906 for trunk/cgi-bin


Ignore:
Timestamp:
08/15/17 13:53:23 (7 years ago)
Author:
Kris Deugau
Message:

/trunk

Bulk addition of "add 'the directory the script is in' to @INC" for Perls
that have dropped '.' from @INC

Location:
trunk/cgi-bin
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/access-pwd-update.pl

    r417 r906  
    1616# don't remove!  required for GNU/FHS-ish install from tarball
    1717##uselib##
     18
     19# push "the directory the script is in" into @INC
     20use FindBin;
     21use lib "$FindBin::RealBin/";
    1822
    1923use MyIPDB;
  • trunk/cgi-bin/admin.cgi

    r893 r906  
    2525# don't remove!  required for GNU/FHS-ish install from tarball
    2626##uselib##
     27
     28# push "the directory the script is in" into @INC
     29use FindBin;
     30use lib "$FindBin::RealBin/";
    2731
    2832use CustIDCK;
  • trunk/cgi-bin/allocate.pl

    r895 r906  
    1717# don't remove!  required for GNU/FHS-ish install from tarball
    1818##uselib##
     19
     20# push "the directory the script is in" into @INC
     21use FindBin;
     22use lib "$FindBin::RealBin/";
    1923
    2024use MyIPDB;
  • trunk/cgi-bin/combineblocks.pl

    r517 r906  
    1818# don't remove!  required for GNU/FHS-ish install from tarball
    1919##uselib##
     20
     21# push "the directory the script is in" into @INC
     22use FindBin;
     23use lib "$FindBin::RealBin/";
    2024
    2125use MyIPDB;
  • trunk/cgi-bin/consistency-check.pl

    r901 r906  
    2222# don't remove!  required for GNU/FHS-ish install from tarball
    2323##uselib##
     24
     25# push "the directory the script is in" into @INC
     26use FindBin;
     27use lib "$FindBin::RealBin/";
    2428
    2529use MyIPDB;
  • trunk/cgi-bin/db-update.pl

    r853 r906  
    55use warnings;
    66use Data::Dumper;
     7
     8# push "the directory the script is in" into @INC
     9use FindBin;
     10use lib "$FindBin::RealBin/";
    711
    812use MyIPDB;
  • trunk/cgi-bin/extras/db2rwhois.pl

    r893 r906  
    2020# don't remove!  required for GNU/FHS-ish install from tarball
    2121##uselib##
     22
     23# push "the directory the script is in" into @INC
     24use FindBin;
     25use lib "$FindBin::RealBin/";
    2226
    2327use MyIPDB;
  • trunk/cgi-bin/freespace.pl

    r417 r906  
    1515# don't remove!  required for GNU/FHS-ish install from tarball
    1616##uselib##
     17
     18# push "the directory the script is in" into @INC
     19use FindBin;
     20use lib "$FindBin::RealBin/";
    1721
    1822use MyIPDB;
  • trunk/cgi-bin/ipdb-rpc.cgi

    r891 r906  
    1919# don't remove!  required for GNU/FHS-ish install from tarball
    2020##uselib##
     21
     22# push "the directory the script is in" into @INC
     23use FindBin;
     24use lib "$FindBin::RealBin/";
    2125
    2226use MyIPDB;
  • trunk/cgi-bin/main.cgi

    r893 r906  
    2323# don't remove!  required for GNU/FHS-ish install from tarball
    2424##uselib##
     25
     26# push "the directory the script is in" into @INC
     27use FindBin;
     28use lib "$FindBin::RealBin/";
    2529
    2630use CustIDCK;
  • trunk/cgi-bin/newcity.cgi

    r622 r906  
    2323# don't remove!  required for GNU/FHS-ish install from tarball
    2424##uselib##
     25
     26# push "the directory the script is in" into @INC
     27use FindBin;
     28use lib "$FindBin::RealBin/";
    2529
    2630use MyIPDB;
  • trunk/cgi-bin/newnode.cgi

    r517 r906  
    2222# don't remove!  required for GNU/FHS-ish install from tarball
    2323##uselib##
     24
     25# push "the directory the script is in" into @INC
     26use FindBin;
     27use lib "$FindBin::RealBin/";
    2428
    2529use MyIPDB;
  • trunk/cgi-bin/search-rpc.cgi

    r905 r906  
    1616# don't remove!  required for GNU/FHS-ish install from tarball
    1717##uselib##
     18
     19# push "the directory the script is in" into @INC
     20use FindBin;
     21use lib "$FindBin::RealBin/";
    1822
    1923use MyIPDB;
  • trunk/cgi-bin/search.cgi

    r896 r906  
    2222# don't remove!  required for GNU/FHS-ish install from tarball
    2323##uselib##
     24
     25# push "the directory the script is in" into @INC
     26use FindBin;
     27use lib "$FindBin::RealBin/";
    2428
    2529use MyIPDB;
Note: See TracChangeset for help on using the changeset viewer.