Changeset 797 for trunk/export.pl


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/export.pl

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