Changeset 2e3b9c2 for perlwrap.pm


Ignore:
Timestamp:
Feb 17, 2007, 4:37:01 PM (14 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
e8bc8ac
Parents:
94cbc453
git-author:
Nelson Elhage <nelhage@mit.edu> (02/17/07 16:36:49)
git-committer:
Nelson Elhage <nelhage@mit.edu> (02/17/07 16:37:01)
Message:
Prefer ~/.barnowlconf, if it exists.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perlwrap.pm

    rc39999f r2e3b9c2  
    2424
    2525use lib(get_data_dir()."/lib");
    26 use lib($::ENV{'HOME'}."/.owl/lib");
     26use lib($ENV{HOME}."/.owl/lib");
    2727
    2828our $configfile;
    2929
    30 $configfile ||= $::ENV{'HOME'}."/.owlconf";
     30if(!$configfile && -f $ENV{HOME} . "/.barnowlconf") {
     31    $configfile = $ENV{HOME} . "/.barnowlconf";
     32}
     33$configfile ||= $ENV{HOME}."/.owlconf";
    3134
    3235# populate global variable space for legacy owlconf files
Note: See TracChangeset for help on using the changeset viewer.