Changeset 797 for trunk/textrecs.cgi


Ignore:
Timestamp:
11/03/20 15:38:37 (4 years ago)
Author:
Kris Deugau
Message:

/trunk

Clean up a lingering nuisance with Perl's default include path; all scripts
should now run correctly no matter what the caller's current directory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/textrecs.cgi

    r745 r797  
    33##
    44# $Id$
    5 # Copyright 2012-2014 Kris Deugau <kdeugau@deepnet.cx>
     5# Copyright 2012-2014,2020 Kris Deugau <kdeugau@deepnet.cx>
    66#
    77#    This program is free software: you can redistribute it and/or modify
     
    2828use DBI;
    2929
    30 # don't remove!  required for GNU/FHS-ish install from tarball
    31 use lib '.';    ##uselib##
     30# push "the directory the script is in" into @INC
     31use FindBin;
     32use lib "$FindBin::RealBin/";
    3233
    3334use DNSDB;
Note: See TracChangeset for help on using the changeset viewer.